Exemple #1
0
 partial void DeletePropertyCurrentValue(PropertyCurrentValue instance);
Exemple #2
0
		private void detach_PropertyCurrentValue(PropertyCurrentValue entity)
		{
			this.SendPropertyChanging();
			entity.Locomotive = null;
		}
Exemple #3
0
 partial void UpdatePropertyCurrentValue(PropertyCurrentValue instance);
Exemple #4
0
 partial void InsertPropertyCurrentValue(PropertyCurrentValue instance);
Exemple #5
0
		private void detach_PropertyCurrentValue(PropertyCurrentValue entity)
		{
			this.SendPropertyChanging();
			entity.ServiceAction = null;
		}
Exemple #6
0
		private void detach_PropertyCurrentValue(PropertyCurrentValue entity)
		{
			this.SendPropertyChanging();
			entity.DicPropertyKind = null;
		}
Exemple #7
0
partial         void InsertPropertyCurrentValue(PropertyCurrentValue pv)
        {
            pv.StartDate = pv.ServiceAction.ActionDate;
            pv.LocomotiveId = pv.ServiceAction.LocomotiveId;

            var PropertyHistory = PropertyCurrentValue.Where(p => p.LocomotiveId == pv.LocomotiveId && p.PropertyKindId == pv.PropertyKindId);
            InsertContinuousIntoSequence(pv, PropertyHistory);
            ExecuteDynamicInsert(pv);
        }