コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Origins EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOrigins(Origin origin)
 {
     base.AddObject("Origins", origin);
 }
コード例 #2
0
 /// <summary>
 /// Create a new Origin object.
 /// </summary>
 /// <param name="originID">Initial value of the OriginID property.</param>
 /// <param name="systemName">Initial value of the SystemName property.</param>
 public static Origin CreateOrigin(global::System.Int32 originID, global::System.String systemName)
 {
     Origin origin = new Origin();
     origin.OriginID = originID;
     origin.SystemName = systemName;
     return origin;
 }