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