/// <summary> /// Deprecated Method for adding a new object to the Subsistence EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSubsistence(Subsistence subsistence) { base.AddObject("Subsistence", subsistence); }
/// <summary> /// Create a new Subsistence object. /// </summary> /// <param name="sID">Initial value of the SID property.</param> /// <param name="rEPID">Initial value of the REPID property.</param> /// <param name="cID">Initial value of the CID property.</param> public static Subsistence CreateSubsistence(global::System.Int32 sID, global::System.String rEPID, global::System.Int32 cID) { Subsistence subsistence = new Subsistence(); subsistence.SID = sID; subsistence.REPID = rEPID; subsistence.CID = cID; return subsistence; }