/// <summary> /// Deprecated Method for adding a new object to the Origins EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOrigins(Origin origin) { base.AddObject("Origins", origin); }
/// <summary> /// Create a new Origin object. /// </summary> /// <param name="originID">Initial value of the OriginID property.</param> /// <param name="systemName">Initial value of the SystemName property.</param> public static Origin CreateOrigin(global::System.Int32 originID, global::System.String systemName) { Origin origin = new Origin(); origin.OriginID = originID; origin.SystemName = systemName; return origin; }