Пример #1
0
 public int Insert(AppInfo model)
 {
     using Connector conn = ConnectionProvider.GetConnection();
     return(Insert(model, null, conn.Connection));
 }
Пример #2
0
 public async Task <int> InsertAsync(AppInfo model)
 {
     using Connector conn = ConnectionProvider.GetConnection();
     return(await InsertAsync(model, null, conn.Connection));
 }
Пример #3
0
 public int Update(AppInfo model)
 {
     using Connector conn = ConnectionProvider.GetConnection();
     return(Update(model, null, conn.Connection));
 }