/// <summary> /// Deprecated Method for adding a new object to the StateDetails EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToStateDetails(StateDetail stateDetail) { base.AddObject("StateDetails", stateDetail); }
/// <summary> /// Create a new StateDetail object. /// </summary> /// <param name="stateID">Initial value of the StateID property.</param> public static StateDetail CreateStateDetail(global::System.Int32 stateID) { StateDetail stateDetail = new StateDetail(); stateDetail.StateID = stateID; return stateDetail; }