/// <summary> /// Create a new Blend object. /// </summary> /// <param name="blendID">Initial value of the BlendID property.</param> /// <param name="formulationID">Initial value of the FormulationID property.</param> /// <param name="reportStatusID">Initial value of the ReportStatusID property.</param> /// <param name="reportCode">Initial value of the ReportCode property.</param> public static Blend CreateBlend(global::System.Int32 blendID, global::System.Int32 formulationID, global::System.Int32 reportStatusID, global::System.String reportCode) { Blend blend = new Blend(); blend.BlendID = blendID; blend.FormulationID = formulationID; blend.ReportStatusID = reportStatusID; blend.ReportCode = reportCode; return blend; }
/// <summary> /// Deprecated Method for adding a new object to the Blends EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBlends(Blend blend) { base.AddObject("Blends", blend); }