/// <summary> /// Deprecated Method for adding a new object to the tblFirms EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblFirms(tblFirm tblFirm) { base.AddObject("tblFirms", tblFirm); }
/// <summary> /// Create a new tblFirm object. /// </summary> /// <param name="idFirm">Initial value of the idFirm property.</param> /// <param name="firmNumber">Initial value of the FirmNumber property.</param> /// <param name="firmName">Initial value of the FirmName property.</param> /// <param name="idFirmType">Initial value of the idFirmType property.</param> /// <param name="idFirmStatus">Initial value of the idFirmStatus property.</param> /// <param name="idFirmBranchType">Initial value of the idFirmBranchType property.</param> public static tblFirm CreatetblFirm(global::System.Int32 idFirm, global::System.String firmNumber, global::System.String firmName, global::System.Int32 idFirmType, global::System.Int32 idFirmStatus, global::System.Int32 idFirmBranchType) { tblFirm tblFirm = new tblFirm(); tblFirm.idFirm = idFirm; tblFirm.FirmNumber = firmNumber; tblFirm.FirmName = firmName; tblFirm.idFirmType = idFirmType; tblFirm.idFirmStatus = idFirmStatus; tblFirm.idFirmBranchType = idFirmBranchType; return tblFirm; }