开发者

How do you do Automatic Select clauses if you dont have a WHERE statement?

In the documentation it says you can decorate the POCO with the table name and primary key column so you dont have to specify the SELECT * FROM开发者_Python百科 TABLENAME an can just use WHERE...

How do you use this feature if you dont have a WHERE clause?


Just use an empty string.

var data = db.Fetch<User>("");
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜