public static OperationAddCountAttribute ToData(CdmOperationAddCountAttribute instance, ResolveOptions resOpt, CopyOptions options) { if (instance == null) { return(null); } OperationAddCountAttribute obj = OperationBasePersistence.ToData <OperationAddCountAttribute>(instance, resOpt, options); obj.CountAttribute = Utils.JsonForm(instance.CountAttribute, resOpt, options); return(obj); }
public static OperationExcludeAttributes ToData(CdmOperationExcludeAttributes instance, ResolveOptions resOpt, CopyOptions options) { if (instance == null) { return(null); } OperationExcludeAttributes obj = OperationBasePersistence.ToData <OperationExcludeAttributes>(instance, resOpt, options); obj.ExcludeAttributes = instance.ExcludeAttributes; return(obj); }
public static OperationAddAttributeGroup ToData(CdmOperationAddAttributeGroup instance, ResolveOptions resOpt, CopyOptions options) { if (instance == null) { return(null); } OperationAddAttributeGroup obj = OperationBasePersistence.ToData <OperationAddAttributeGroup>(instance, resOpt, options); obj.AttributeGroupName = instance.AttributeGroupName; return(obj); }
public static OperationRenameAttributes ToData(CdmOperationRenameAttributes instance, ResolveOptions resOpt, CopyOptions options) { if (instance == null) { return(null); } OperationRenameAttributes obj = OperationBasePersistence.ToData <OperationRenameAttributes>(instance, resOpt, options); obj.RenameFormat = instance.RenameFormat; obj.ApplyTo = instance.ApplyTo; return(obj); }
public static OperationCombineAttributes ToData(CdmOperationCombineAttributes instance, ResolveOptions resOpt, CopyOptions options) { if (instance == null) { return(null); } OperationCombineAttributes obj = OperationBasePersistence.ToData <OperationCombineAttributes>(instance, resOpt, options); obj.Select = instance.Select; obj.MergeInto = Utils.JsonForm(instance.MergeInto, resOpt, options); return(obj); }
public static OperationArrayExpansion ToData(CdmOperationArrayExpansion instance, ResolveOptions resOpt, CopyOptions options) { if (instance == null) { return(null); } OperationArrayExpansion obj = OperationBasePersistence.ToData <OperationArrayExpansion>(instance, resOpt, options); obj.StartOrdinal = instance.StartOrdinal; obj.EndOrdinal = instance.EndOrdinal; return(obj); }
public static OperationReplaceAsForeignKey ToData(CdmOperationReplaceAsForeignKey instance, ResolveOptions resOpt, CopyOptions options) { if (instance == null) { return(null); } OperationReplaceAsForeignKey obj = OperationBasePersistence.ToData <OperationReplaceAsForeignKey>(instance, resOpt, options); obj.Reference = instance.Reference; obj.ReplaceWith = Utils.JsonForm(instance.ReplaceWith, resOpt, options); return(obj); }
public static OperationAlterTraits ToData(CdmOperationAlterTraits instance, ResolveOptions resOpt, CopyOptions options) { if (instance == null) { return(null); } OperationAlterTraits obj = OperationBasePersistence.ToData <OperationAlterTraits>(instance, resOpt, options); obj.TraitsToAdd = CopyDataUtils.ListCopyData(resOpt, instance.TraitsToAdd, options); obj.TraitsToRemove = CopyDataUtils.ListCopyData(resOpt, instance.TraitsToRemove, options); obj.ArgumentsContainWildcards = instance.ArgumentsContainWildcards; obj.ApplyTo = instance.ApplyTo; return(obj); }