/// <summary> /// Create a new SYS_ActiveIngredient object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> public static SYS_ActiveIngredient CreateSYS_ActiveIngredient(global::System.Int32 id, global::System.String name) { SYS_ActiveIngredient sYS_ActiveIngredient = new SYS_ActiveIngredient(); sYS_ActiveIngredient.Id = id; sYS_ActiveIngredient.Name = name; return sYS_ActiveIngredient; }
/// <summary> /// Deprecated Method for adding a new object to the SYS_ActiveIngredient EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSYS_ActiveIngredient(SYS_ActiveIngredient sYS_ActiveIngredient) { base.AddObject("SYS_ActiveIngredient", sYS_ActiveIngredient); }