Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Is it perfectly fine to do the following:
private readonly Database _db = new Databse("products"); var products = _db.Fetch<Product>("SELECT * FROM Products");
or
using(var _db = new Database("products")) { var products = _db.Fetch<Product>("SELECT * FROM Products"); }
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Should PetaPoco database calls be done in using statement?
Is it perfectly fine to do the following:
or
is working on a reply...