コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Assocs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAssocs(Assoc assoc)
 {
     base.AddObject("Assocs", assoc);
 }
コード例 #2
0
 /// <summary>
 /// Create a new Assoc object.
 /// </summary>
 /// <param name="order">Initial value of the Order property.</param>
 /// <param name="sourceId">Initial value of the SourceId property.</param>
 /// <param name="destinationId">Initial value of the DestinationId property.</param>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="tid">Initial value of the Tid property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="createdBy">Initial value of the CreatedBy property.</param>
 /// <param name="modifiedBy">Initial value of the ModifiedBy property.</param>
 /// <param name="created">Initial value of the Created property.</param>
 /// <param name="modified">Initial value of the Modified property.</param>
 public static Assoc CreateAssoc(global::System.Int64 order, global::System.Int64 sourceId, global::System.Int64 destinationId, global::System.Int64 id, global::System.String tid, global::System.String name, global::System.String createdBy, global::System.String modifiedBy, global::System.DateTimeOffset created, global::System.DateTimeOffset modified)
 {
     Assoc assoc = new Assoc();
     assoc.Order = order;
     assoc.SourceId = sourceId;
     assoc.DestinationId = destinationId;
     assoc.Id = id;
     assoc.Tid = tid;
     assoc.Name = name;
     assoc.CreatedBy = createdBy;
     assoc.ModifiedBy = modifiedBy;
     assoc.Created = created;
     assoc.Modified = modified;
     return assoc;
 }