Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the tblCommodityOwner EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotblCommodityOwner(tblCommodityOwner tblCommodityOwner)
 {
     base.AddObject("tblCommodityOwner", tblCommodityOwner);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new tblCommodityOwner object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="surname">Initial value of the Surname property.</param>
 /// <param name="firstName">Initial value of the FirstName property.</param>
 /// <param name="gender">Initial value of the Gender property.</param>
 /// <param name="idNo">Initial value of the IdNo property.</param>
 /// <param name="pINNo">Initial value of the PINNo property.</param>
 /// <param name="dOB">Initial value of the DOB property.</param>
 /// <param name="commodityOwnerTypeId">Initial value of the CommodityOwnerTypeId property.</param>
 /// <param name="costCentreId">Initial value of the CostCentreId 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 tblCommodityOwner CreatetblCommodityOwner(global::System.Guid id, global::System.String surname, global::System.String firstName, global::System.Int32 gender, global::System.String idNo, global::System.String pINNo, global::System.DateTime dOB, global::System.Guid commodityOwnerTypeId, global::System.Guid costCentreId, global::System.DateTime iM_DateCreated, global::System.DateTime iM_DateLastUpdated, global::System.Int32 iM_Status)
 {
     tblCommodityOwner tblCommodityOwner = new tblCommodityOwner();
     tblCommodityOwner.Id = id;
     tblCommodityOwner.Surname = surname;
     tblCommodityOwner.FirstName = firstName;
     tblCommodityOwner.Gender = gender;
     tblCommodityOwner.IdNo = idNo;
     tblCommodityOwner.PINNo = pINNo;
     tblCommodityOwner.DOB = dOB;
     tblCommodityOwner.CommodityOwnerTypeId = commodityOwnerTypeId;
     tblCommodityOwner.CostCentreId = costCentreId;
     tblCommodityOwner.IM_DateCreated = iM_DateCreated;
     tblCommodityOwner.IM_DateLastUpdated = iM_DateLastUpdated;
     tblCommodityOwner.IM_Status = iM_Status;
     return tblCommodityOwner;
 }