예제 #1
0
 partial void DeleteRate(Rate instance);
예제 #2
0
 partial void InsertRate(Rate instance);
예제 #3
0
 partial void UpdateRate(Rate instance);
예제 #4
0
 Rate CreateNewRate(string userName, KEYID keyId, int score)
 {
     var rate = new Rate()
     {
         RateID = IDProvider.GetNewId("Rate"),
         CrUserName = userName,
         CreatedTime = TimeProvider.Now,
         KID = keyId,
         Score = score
     };
     return rate;
 }