/// <summary> /// 用于向 tblRevenue EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddTotblRevenue(tblRevenue tblRevenue) { base.AddObject("tblRevenue", tblRevenue); }
/// <summary> /// 创建新的 tblRevenue 对象。 /// </summary> /// <param name="revC">RevC 属性的初始值。</param> /// <param name="revenueCodeID">RevenueCodeID 属性的初始值。</param> /// <param name="utilityTypeID">UtilityTypeID 属性的初始值。</param> /// <param name="isDeleted">IsDeleted 属性的初始值。</param> public static tblRevenue CreatetblRevenue(global::System.String revC, global::System.String revenueCodeID, global::System.String utilityTypeID, global::System.Boolean isDeleted) { tblRevenue tblRevenue = new tblRevenue(); tblRevenue.RevC = revC; tblRevenue.RevenueCodeID = revenueCodeID; tblRevenue.UtilityTypeID = utilityTypeID; tblRevenue.IsDeleted = isDeleted; return tblRevenue; }