/// <summary> /// Initializes a new instance of the RelationshipProperties class. /// </summary> /// <param name="fromTableName">From Table Name</param> /// <param name="toTableName">To Table Name</param> /// <param name="columnRelationshipInformations">List of Column /// Relationships.</param> /// <param name="originObjectId">Entity object id maintained by the /// caller.</param> /// <param name="objectId">Entity object id maintained by SyMS.</param> /// <param name="objectVersion">Entity object version maintained by /// SyMS.</param> /// <param name="publishStatus">Possible values include: /// 'PUBLISHED'</param> /// <param name="properties">Property bag</param> /// <param name="fromTableId">From Table Id</param> /// <param name="toTableId">To Table Id</param> /// <param name="relationshipType">Possible values include: /// 'ONETOONE', 'ONETOMANY', 'MANYTOONE', 'MANYTOMANY'</param> public RelationshipProperties(NamespaceModel namespaceProperty, string fromTableName, string toTableName, System.Collections.Generic.IList <ColumnRelationshipInformation> columnRelationshipInformations, string originObjectId = default(string), string objectId = default(string), long?objectVersion = default(long?), PublishStatus?publishStatus = default(PublishStatus?), System.Collections.Generic.IDictionary <string, JToken> properties = default(System.Collections.Generic.IDictionary <string, JToken>), string fromTableId = default(string), string toTableId = default(string), RelationshipType?relationshipType = default(RelationshipType?)) : base(originObjectId, objectId, objectVersion, publishStatus, properties) { NamespaceProperty = namespaceProperty; FromTableId = fromTableId; FromTableName = fromTableName; ToTableId = toTableId; ToTableName = toTableName; RelationshipType = relationshipType; ColumnRelationshipInformations = columnRelationshipInformations; }
/// <summary> /// Initializes a new instance of the SchemaProperties class. /// </summary> /// <param name="originObjectId">Entity object id maintained by the /// caller.</param> /// <param name="objectId">Entity object id maintained by SyMS.</param> /// <param name="objectVersion">Entity object version maintained by /// SyMS.</param> /// <param name="publishStatus">Possible values include: /// 'PUBLISHED'</param> /// <param name="properties">Property bag</param> public SchemaProperties(NamespaceModel namespaceProperty, string originObjectId = default(string), string objectId = default(string), long?objectVersion = default(long?), PublishStatus?publishStatus = default(PublishStatus?), System.Collections.Generic.IDictionary <string, JToken> properties = default(System.Collections.Generic.IDictionary <string, JToken>)) : base(originObjectId, objectId, objectVersion, publishStatus, properties) { NamespaceProperty = namespaceProperty; }