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