コード例 #1
0
 public static int Execute(this IMsSqlDatabase database, string sql, object param)
 {
     return(database.WithConnection(c => c.Execute(sql, param)));
 }
コード例 #2
0
 public static IReadOnlyCollection <T> Query <T>(this IMsSqlDatabase database, string sql)
 {
     return(database.WithConnection <IReadOnlyCollection <T> >(c => c.Query <T>(sql).ToList()));
 }