SaveEntity not generated

Posts   
 
    
laurendc
User
Posts: 4
Joined: 05-Oct-2009
# Posted on: 05-Oct-2009 14:34:07   

Hi,

I am using C#/SQL server 2008/VS 2008 and version 2.6 (demo) with the 'adapter' template. Started with a simple create instance project, but found that the generated DataAccessAdapter is incomplete. Among other missing methods, the SaveEntity and FetchEntity were not generated.


            var adapter = new DALSD.DataAccessAdapter(StApplicationContext.ConnectionString, true);

            var namedListType = new DAL.EntityClasses.NamedListTypeEntity();
            namedListType.Name = "list";
            namedListType.MemberObjectTypeId = "EN";

            adapter.SaveEntity ......... doesn't exists

Walaa avatar
Walaa
Support Team
Posts: 14993
Joined: 21-Aug-2005
# Posted on: 05-Oct-2009 16:01:45   

SaveEntity() is not generated, it's defined in the DataAccessAdapterBase base class found in the ORMSupportedClasses...dll