/// <summary> /// Create a new TimeUnitType object. /// </summary> /// <param name="timeUnitTypeID">Initial value of the TimeUnitTypeID property.</param> /// <param name="name">Initial value of the Name property.</param> public static TimeUnitType CreateTimeUnitType(global::System.Int32 timeUnitTypeID, global::System.String name) { TimeUnitType timeUnitType = new TimeUnitType(); timeUnitType.TimeUnitTypeID = timeUnitTypeID; timeUnitType.Name = name; return timeUnitType; }
/// <summary> /// Deprecated Method for adding a new object to the TimeUnitTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTimeUnitTypes(TimeUnitType timeUnitType) { base.AddObject("TimeUnitTypes", timeUnitType); }