/// <summary> /// Deprecated Method for adding a new object to the tblregion EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblregion(tblregion tblregion) { base.AddObject("tblregion", tblregion); }
/// <summary> /// Create a new tblregion object. /// </summary> /// <param name="idregion">Initial value of the idregion property.</param> /// <param name="idcountry">Initial value of the idcountry property.</param> /// <param name="name">Initial value of the name property.</param> /// <param name="paymentrate">Initial value of the paymentrate property.</param> public static tblregion Createtblregion(global::System.Int32 idregion, global::System.Int32 idcountry, global::System.String name, global::System.Decimal paymentrate) { tblregion tblregion = new tblregion(); tblregion.idregion = idregion; tblregion.idcountry = idcountry; tblregion.name = name; tblregion.paymentrate = paymentrate; return tblregion; }