Exemple #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,
         }
     });
 }
Exemple #2
0
 partial void DeleteSpammerReportEntity(SpammerReportEntity instance);
Exemple #3
0
 partial void UpdateSpammerReportEntity(SpammerReportEntity instance);
Exemple #4
0
 partial void InsertSpammerReportEntity(SpammerReportEntity instance);