/// <summary> /// Deprecated Method for adding a new object to the StructureLinks EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToStructureLinks(StructureLink structureLink) { base.AddObject("StructureLinks", structureLink); }
/// <summary> /// Create a new StructureLink object. /// </summary> /// <param name="sourceID">Initial value of the SourceID property.</param> /// <param name="targetID">Initial value of the TargetID property.</param> /// <param name="bidirectional">Initial value of the Bidirectional property.</param> /// <param name="username">Initial value of the Username property.</param> /// <param name="created">Initial value of the Created property.</param> /// <param name="lastModified">Initial value of the LastModified property.</param> public static StructureLink CreateStructureLink(global::System.Int64 sourceID, global::System.Int64 targetID, global::System.Boolean bidirectional, global::System.String username, global::System.DateTime created, global::System.DateTime lastModified) { StructureLink structureLink = new StructureLink(); structureLink.SourceID = sourceID; structureLink.TargetID = targetID; structureLink.Bidirectional = bidirectional; structureLink.Username = username; structureLink.Created = created; structureLink.LastModified = lastModified; return structureLink; }