コード例 #1
0
 /// <summary>
 /// Create a new UOM object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="statusId">Initial value of the StatusId property.</param>
 /// <param name="descriptorId">Initial value of the DescriptorId property.</param>
 /// <param name="code">Initial value of the Code property.</param>
 /// <param name="created">Initial value of the Created property.</param>
 public static UOM CreateUOM(global::System.Int32 id, global::System.Int32 statusId, global::System.Int32 descriptorId, global::System.String code, global::System.DateTime created)
 {
     UOM uOM = new UOM();
     uOM.Id = id;
     uOM.StatusId = statusId;
     uOM.DescriptorId = descriptorId;
     uOM.Code = code;
     uOM.Created = created;
     return uOM;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UOMs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUOMs(UOM uOM)
 {
     base.AddObject("UOMs", uOM);
 }