Example #1
0
 /// <summary>
 /// Create a new tblCommodityGrade object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="commodityId">Initial value of the CommodityId property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="usageTypeId">Initial value of the UsageTypeId property.</param>
 /// <param name="iM_DateCreated">Initial value of the IM_DateCreated property.</param>
 /// <param name="iM_DateLastUpdated">Initial value of the IM_DateLastUpdated property.</param>
 /// <param name="iM_Status">Initial value of the IM_Status property.</param>
 public static tblCommodityGrade CreatetblCommodityGrade(global::System.Guid id, global::System.Guid commodityId, global::System.String name, global::System.Int32 usageTypeId, global::System.DateTime iM_DateCreated, global::System.DateTime iM_DateLastUpdated, global::System.Int32 iM_Status)
 {
     tblCommodityGrade tblCommodityGrade = new tblCommodityGrade();
     tblCommodityGrade.Id = id;
     tblCommodityGrade.CommodityId = commodityId;
     tblCommodityGrade.Name = name;
     tblCommodityGrade.UsageTypeId = usageTypeId;
     tblCommodityGrade.IM_DateCreated = iM_DateCreated;
     tblCommodityGrade.IM_DateLastUpdated = iM_DateLastUpdated;
     tblCommodityGrade.IM_Status = iM_Status;
     return tblCommodityGrade;
 }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the tblCommodityGrade EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotblCommodityGrade(tblCommodityGrade tblCommodityGrade)
 {
     base.AddObject("tblCommodityGrade", tblCommodityGrade);
 }