예제 #1
0
파일: Mappings.cs 프로젝트: formist/LinkMe
        public static Criteria Map(this CampaignEntity entity, CampaignCriteriaSetEntity criteriaSetEntity, ICriteriaPersister criteriaPersister)
        {
            var type = ((CampaignCategory)entity.category).ToString();

            return(criteriaSetEntity == null
                ? criteriaPersister.CreateCriteria(type)
                : criteriaSetEntity.MapTo <CampaignCriteriaSetEntity, CampaignCriteriaEntity, Criteria>(type, criteriaPersister, false));
        }
예제 #2
0
 partial void UpdateCampaignCriteriaSetEntity(CampaignCriteriaSetEntity instance);
예제 #3
0
 partial void DeleteCampaignCriteriaSetEntity(CampaignCriteriaSetEntity instance);
예제 #4
0
 partial void InsertCampaignCriteriaSetEntity(CampaignCriteriaSetEntity instance);