/// <summary> /// Create a new StateRegion object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="fullName">Initial value of the FullName property.</param> /// <param name="abbreviation">Initial value of the Abbreviation property.</param> /// <param name="regionType">Initial value of the RegionType property.</param> public static StateRegion CreateStateRegion(global::System.Int64 id, global::System.String fullName, global::System.String abbreviation, global::System.Int16 regionType) { StateRegion stateRegion = new StateRegion(); stateRegion.ID = id; stateRegion.FullName = fullName; stateRegion.Abbreviation = abbreviation; stateRegion.RegionType = regionType; return(stateRegion); }
/// <summary> /// Deprecated Method for adding a new object to the StateRegions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToStateRegions(StateRegion stateRegion) { base.AddObject("StateRegions", stateRegion); }