Пример #1
0
        partial void si_meeting_decisions_Validate(si_meeting_decision entity, EntitySetValidationResultsBuilder results)
        {
            ///Not using because unable to differentiate between update and insert event
            ///

            //var ds = applicationExists(entity.si_applications.Id, entity.si_meeting.Id);

            //if(ds.Count()>0)
            //{
            //    results.AddPropertyError(entity.ApplicationID + " is a Duplicate Entry", entity.Details.Properties.si_applications);
            //}
        }
Пример #2
0
 partial void si_meeting_decisions_Inserting(si_meeting_decision entity)
 {
     entity.decision = "Pending";
 }
Пример #3
0
 partial void si_meeting_decisions_Updating(si_meeting_decision entity)
 {
     AuditHelper.CreateAuditTrailForUpdate(entity, this);
 }