/// <summary> /// Create a new Case object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="officerId">Initial value of the officerId property.</param> /// <param name="paroleeId">Initial value of the paroleeId property.</param> public static Case CreateCase(global::System.Int32 id, global::System.Int32 officerId, global::System.Int32 paroleeId) { Case @case = new Case(); @case.id = id; @case.officerId = officerId; @case.paroleeId = paroleeId; return @case; }
/// <summary> /// Deprecated Method for adding a new object to the Cases EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCases(Case @case) { base.AddObject("Cases", @case); }