/// <summary> /// Create a new Bankruptcy object. /// </summary> /// <param name="caseID">Initial value of the CaseID property.</param> public static Bankruptcy CreateBankruptcy(global::System.Int32 caseID) { Bankruptcy bankruptcy = new Bankruptcy(); bankruptcy.CaseID = caseID; return bankruptcy; }
/// <summary> /// Deprecated Method for adding a new object to the Bankruptcies EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBankruptcies(Bankruptcy bankruptcy) { base.AddObject("Bankruptcies", bankruptcy); }