/// <summary> /// Deprecated Method for adding a new object to the tbl_DonationInfo EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotbl_DonationInfo(tbl_DonationInfo tbl_DonationInfo) { base.AddObject("tbl_DonationInfo", tbl_DonationInfo); }
public tbl_DonationInfo SaveDonationInfo(tbl_DonationInfo donationInfo) { return DonationInfoRepository.Save(donationInfo); }
/// <summary> /// Create a new tbl_DonationInfo object. /// </summary> /// <param name="donationInfoID">Initial value of the DonationInfoID property.</param> /// <param name="dI_Title">Initial value of the DI_Title property.</param> /// <param name="dI_DomainID">Initial value of the DI_DomainID property.</param> /// <param name="dI_Amount">Initial value of the DI_Amount property.</param> /// <param name="dI_DonationTypeID">Initial value of the DI_DonationTypeID property.</param> /// <param name="dI_Live">Initial value of the DI_Live property.</param> public static tbl_DonationInfo Createtbl_DonationInfo(global::System.Int32 donationInfoID, global::System.String dI_Title, global::System.Int32 dI_DomainID, global::System.Decimal dI_Amount, global::System.Int32 dI_DonationTypeID, global::System.Boolean dI_Live) { tbl_DonationInfo tbl_DonationInfo = new tbl_DonationInfo(); tbl_DonationInfo.DonationInfoID = donationInfoID; tbl_DonationInfo.DI_Title = dI_Title; tbl_DonationInfo.DI_DomainID = dI_DomainID; tbl_DonationInfo.DI_Amount = dI_Amount; tbl_DonationInfo.DI_DonationTypeID = dI_DonationTypeID; tbl_DonationInfo.DI_Live = dI_Live; return tbl_DonationInfo; }