示例#1
0
 public static T Select <T>(string connectionString, object primaryKey)
     where T : class, new()
 {
     return(DbConnectionBase.Select <T, SqlConnection, SqlParameter>(connectionString, primaryKey));
 }
示例#2
0
 public static IEnumerable <T> Select <T>(string connectionString)
     where T : class, new()
 {
     return(DbConnectionBase.Select <T, SqlConnection>(connectionString));
 }