/// <summary> /// Deprecated Method for adding a new object to the SPA_Diagnosis EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSPA_Diagnosis(SPA_Diagnosis sPA_Diagnosis) { base.AddObject("SPA_Diagnosis", sPA_Diagnosis); }
/// <summary> /// Create a new SPA_Diagnosis object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="diagnosisName">Initial value of the DiagnosisName property.</param> /// <param name="isActive">Initial value of the IsActive property.</param> public static SPA_Diagnosis CreateSPA_Diagnosis(global::System.Guid id, global::System.String diagnosisName, global::System.Boolean isActive) { SPA_Diagnosis sPA_Diagnosis = new SPA_Diagnosis(); sPA_Diagnosis.ID = id; sPA_Diagnosis.DiagnosisName = diagnosisName; sPA_Diagnosis.IsActive = isActive; return sPA_Diagnosis; }
/// <summary> /// Create a new SPA_Diagnosis object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="diagnosisName">Initial value of the DiagnosisName property.</param> public static SPA_Diagnosis CreateSPA_Diagnosis(global::System.Int32 id, global::System.String diagnosisName) { SPA_Diagnosis sPA_Diagnosis = new SPA_Diagnosis(); sPA_Diagnosis.ID = id; sPA_Diagnosis.DiagnosisName = diagnosisName; return sPA_Diagnosis; }