示例#1
0
 public static void Execute(string sql)
 {
     using (DBBridgeForSqlServerCompact db = new DBBridgeForSqlServerCompact())
     {
         db.Execute(sql);
     }
 }
示例#2
0
 public static void Insert(string table, List <DataRowAccessor> rows)
 {
     using (DBBridgeForSqlServerCompact db = new DBBridgeForSqlServerCompact())
     {
         db.FastInsert(table, rows);
     }
 }
示例#3
0
 public static TypeConvertableWrapper SelectOne(string sql)
 {
     using (DBBridgeForSqlServerCompact db = new DBBridgeForSqlServerCompact())
     {
         return(db.SelectOne(sql));
     }
 }
示例#4
0
 public static List <DataRowAccessor> Select(string sql)
 {
     using (DBBridgeForSqlServerCompact db = new DBBridgeForSqlServerCompact())
     {
         return(db.Select(sql));
     }
 }
示例#5
0
 public DBHelperCeWithTransaction()
 {
     _bridg = new DBBridgeForSqlServerCompact();
     _bridg.BeginTransaction();
 }