Small mistake in generated code documentation

Posts   
 
    
saggett
User
Posts: 50
Joined: 12-Nov-2007
# Posted on: 29-May-2008 10:47:05   

The comment on the GetFieldsInfo() of a TypedList in adapter appears to be incorrect. Using March 28th build.

It reads:


public partial class ProductInfoTypedList : TypedListBase2, IEnumerable, ITypedListLgp2
{
...

/// <summary>Gets the IEntityFields2 collection of fields of this typed view. Use this method in combination with the FetchTypedView() methods in 
/// DataAccessAdapter.</summary>
/// <returns>Ready to use IEntityFields2 collection object.</returns>
public virtual IEntityFields2 GetFieldsInfo()
{
      return _fields;
}

It's not a TypedView, and I'm using the fields returned from GetFieldsInfo() on a FetchTypedList() overload.

Walaa avatar
Walaa
Support Team
Posts: 14946
Joined: 21-Aug-2005
# Posted on: 29-May-2008 11:04:23   

Nice catch, we will fix it in the templates.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39588
Joined: 17-Aug-2003
# Posted on: 29-May-2008 16:52:28   

Fixed in next build.

Frans Bouma | Lead developer LLBLGen Pro