public virtual void MergePatch(IMergePatchAttributeSetInstanceExtensionFieldMvo c) { IAttributeSetInstanceExtensionFieldMvoStateMergePatched e = Map(c); Apply(e); }
void IAttributeSetInstanceExtensionFieldMvoApplicationService.When(IMergePatchAttributeSetInstanceExtensionFieldMvo c) { this.When((MergePatchAttributeSetInstanceExtensionFieldMvoDto)c); }
protected virtual IAttributeSetInstanceExtensionFieldMvoStateMergePatched Map(IMergePatchAttributeSetInstanceExtensionFieldMvo c) { var stateEventId = new AttributeSetInstanceExtensionFieldMvoStateEventId(c.AttributeSetInstanceExtensionFieldId, c.AttrSetInstEFGroupVersion); IAttributeSetInstanceExtensionFieldMvoStateMergePatched e = NewAttributeSetInstanceExtensionFieldMvoStateMergePatched(stateEventId); e.Name = c.Name; e.Type = c.Type; e.Length = c.Length; e.Alias = c.Alias; e.Description = c.Description; e.Version = c.Version; e.Active = c.Active; e.AttrSetInstEFGroupFieldType = c.AttrSetInstEFGroupFieldType; e.AttrSetInstEFGroupFieldLength = c.AttrSetInstEFGroupFieldLength; e.AttrSetInstEFGroupFieldCount = c.AttrSetInstEFGroupFieldCount; e.AttrSetInstEFGroupNameFormat = c.AttrSetInstEFGroupNameFormat; e.AttrSetInstEFGroupDescription = c.AttrSetInstEFGroupDescription; e.AttrSetInstEFGroupCreatedBy = c.AttrSetInstEFGroupCreatedBy; e.AttrSetInstEFGroupCreatedAt = c.AttrSetInstEFGroupCreatedAt; e.AttrSetInstEFGroupUpdatedBy = c.AttrSetInstEFGroupUpdatedBy; e.AttrSetInstEFGroupUpdatedAt = c.AttrSetInstEFGroupUpdatedAt; e.AttrSetInstEFGroupActive = c.AttrSetInstEFGroupActive; e.AttrSetInstEFGroupDeleted = c.AttrSetInstEFGroupDeleted; e.IsPropertyNameRemoved = c.IsPropertyNameRemoved; e.IsPropertyTypeRemoved = c.IsPropertyTypeRemoved; e.IsPropertyLengthRemoved = c.IsPropertyLengthRemoved; e.IsPropertyAliasRemoved = c.IsPropertyAliasRemoved; e.IsPropertyDescriptionRemoved = c.IsPropertyDescriptionRemoved; e.IsPropertyVersionRemoved = c.IsPropertyVersionRemoved; e.IsPropertyActiveRemoved = c.IsPropertyActiveRemoved; e.IsPropertyAttrSetInstEFGroupFieldTypeRemoved = c.IsPropertyAttrSetInstEFGroupFieldTypeRemoved; e.IsPropertyAttrSetInstEFGroupFieldLengthRemoved = c.IsPropertyAttrSetInstEFGroupFieldLengthRemoved; e.IsPropertyAttrSetInstEFGroupFieldCountRemoved = c.IsPropertyAttrSetInstEFGroupFieldCountRemoved; e.IsPropertyAttrSetInstEFGroupNameFormatRemoved = c.IsPropertyAttrSetInstEFGroupNameFormatRemoved; e.IsPropertyAttrSetInstEFGroupDescriptionRemoved = c.IsPropertyAttrSetInstEFGroupDescriptionRemoved; e.IsPropertyAttrSetInstEFGroupCreatedByRemoved = c.IsPropertyAttrSetInstEFGroupCreatedByRemoved; e.IsPropertyAttrSetInstEFGroupCreatedAtRemoved = c.IsPropertyAttrSetInstEFGroupCreatedAtRemoved; e.IsPropertyAttrSetInstEFGroupUpdatedByRemoved = c.IsPropertyAttrSetInstEFGroupUpdatedByRemoved; e.IsPropertyAttrSetInstEFGroupUpdatedAtRemoved = c.IsPropertyAttrSetInstEFGroupUpdatedAtRemoved; e.IsPropertyAttrSetInstEFGroupActiveRemoved = c.IsPropertyAttrSetInstEFGroupActiveRemoved; e.IsPropertyAttrSetInstEFGroupDeletedRemoved = c.IsPropertyAttrSetInstEFGroupDeletedRemoved; e.CommandId = c.CommandId; e.CreatedBy = (string)c.RequesterId; e.CreatedAt = DateTime.Now; var attrSetInstEFGroupVersion = c.AttrSetInstEFGroupVersion; return(e); }
public virtual void When(IMergePatchAttributeSetInstanceExtensionFieldMvo c) { Update(c, ar => ar.MergePatch(c)); }