예제 #1
0
 public static SpammerReport Map(this SpammerReportEntity entity)
 {
     return(new SpammerReport
     {
         ReportedByUserId = entity.reportedByUserId,
         ReportedTime = entity.reportedTime,
         Spammer = new Spammer
         {
             UserId = entity.userId,
             FirstName = entity.firstName,
             LastName = entity.lastName,
         }
     });
 }
예제 #2
0
 partial void DeleteSpammerReportEntity(SpammerReportEntity instance);
예제 #3
0
 partial void UpdateSpammerReportEntity(SpammerReportEntity instance);
예제 #4
0
 partial void InsertSpammerReportEntity(SpammerReportEntity instance);