开发者

SubSonic 2.0 Delete() is 'method' bus is used like a 'type'

开发者 https://www.devze.com 2023-02-15 05:04 出处:网络
I\'ve recently had to adopt a SubSonic based solution, and i\'m getting an error for Delete Insert and Update

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消