Пример #1
0
 public static T DownCastCommand <T>(this T command) where T : IDbCommand
 {
     return(DownCaster <T> .DownCast(command));
 }
Пример #2
0
 public static T DownCastConnection <T>(this T connection) where T : IDbConnection
 {
     return(DownCaster <T> .DownCast(connection));
 }