Beispiel #1
0
 public static Category Map(this CommunicationCategoryEntity entity)
 {
     return(new Category
     {
         Id = entity.id,
         Name = entity.name,
         DefaultFrequency = (Frequency)entity.defaultFrequency,
         AvailableFrequencies = GetAvailableFrequencies(entity.availableFrequencies, (Timing)entity.type),
         Timing = (Timing)entity.type,
         UserTypes = (UserType)entity.roles
     });
 }
Beispiel #2
0
 partial void DeleteCommunicationCategoryEntity(CommunicationCategoryEntity instance);
Beispiel #3
0
 partial void InsertCommunicationCategoryEntity(CommunicationCategoryEntity instance);