Example #1
0
        /// <summary>
        /// Create a new RevenueGroup object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="name">Initial value of the Name property.</param>
        /// <param name="creationDate">Initial value of the CreationDate property.</param>
        /// <param name="isDeleted">Initial value of the IsDeleted property.</param>
        public static RevenueGroup CreateRevenueGroup(global::System.Int32 id, global::System.String name, global::System.DateTime creationDate, global::System.Boolean isDeleted)
        {
            RevenueGroup revenueGroup = new RevenueGroup();

            revenueGroup.Id           = id;
            revenueGroup.Name         = name;
            revenueGroup.CreationDate = creationDate;
            revenueGroup.IsDeleted    = isDeleted;
            return(revenueGroup);
        }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TblRevenueGroups EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTblRevenueGroups(RevenueGroup revenueGroup)
 {
     base.AddObject("TblRevenueGroups", revenueGroup);
 }