SubSonic 2.0 Delete() is 'method' bus is used like a 'type'
I've recently had to adopt a SubSonic based solution, and i'm getting an error for Delete Insert and Update
Delete is a 'method' but is used like a 'type'
public static Delete Delete()
{
return Repository.Delete();
}
I can tell there is supposed to be a type Delete, but for some reason it's not being shown, am I missing a reference? I've got SubSonic.dll (version 2.0.3) referenced in a Visual Studio 201开发者_JAVA技巧0 WebSite
Thank you
Your database table must have a primary key in order to support CRUD operations. In addition to this, you should have a ModifiedBy, ModifiedOn, CreatedBy, CreatedOn, IsDeleted column if you want to use the built-in change tracking.
精彩评论