Ejemplo n.º 1
0
 public static T ScalarWhere <T>(string condition) where T : Model, new()
 {
     return(Transactor.GetScalarWhere <T>(condition));
 }
Ejemplo n.º 2
0
 // Static members.
 public static T ScalarWhereID <T>(int id) where T : Model, new()
 {
     return(Transactor.GetScalarWhere <T>(string.Format(Resources.WhereID, id)));
 }