public static void Execute(string sql) { using (DBBridgeForSqlServerCompact db = new DBBridgeForSqlServerCompact()) { db.Execute(sql); } }
public static void Insert(string table, List <DataRowAccessor> rows) { using (DBBridgeForSqlServerCompact db = new DBBridgeForSqlServerCompact()) { db.FastInsert(table, rows); } }
public static TypeConvertableWrapper SelectOne(string sql) { using (DBBridgeForSqlServerCompact db = new DBBridgeForSqlServerCompact()) { return(db.SelectOne(sql)); } }
public static List <DataRowAccessor> Select(string sql) { using (DBBridgeForSqlServerCompact db = new DBBridgeForSqlServerCompact()) { return(db.Select(sql)); } }
public DBHelperCeWithTransaction() { _bridg = new DBBridgeForSqlServerCompact(); _bridg.BeginTransaction(); }