示例#1
0
 public static int Insert <T>(RepositoryRecord <T> item, string userName) where T : RepositoryRecord <T>, new()
 {
     return(Repository.Insert <T>(item, userName));
 }
示例#2
0
 public static int Insert <T>(RepositoryRecord <T> item) where T : RepositoryRecord <T>, new()
 {
     return(Repository.Insert <T>(item));
 }
示例#3
0
 public static int Save <T>(RepositoryRecord <T> item) where T : RepositoryRecord <T>, new()
 {
     return(Repository.Save <T>(item));
 }
示例#4
0
 public static int Update <T>(RepositoryRecord <T> item) where T : RepositoryRecord <T>, new()
 {
     return(Repository.Update <T>(item, ""));
 }
示例#5
0
 public static void Destroy <T>(RepositoryRecord <T> item) where T : RepositoryRecord <T>, new()
 {
     Repository.Destroy <T>(item);
 }