Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SectorGroups EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSectorGroups(SectorGroup sectorGroup)
 {
     base.AddObject("SectorGroups", sectorGroup);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new SectorGroup object.
 /// </summary>
 /// <param name="sectorGroupID">Initial value of the SectorGroupID property.</param>
 /// <param name="sectorGroupName">Initial value of the SectorGroupName property.</param>
 public static SectorGroup CreateSectorGroup(global::System.Int32 sectorGroupID, global::System.String sectorGroupName)
 {
     SectorGroup sectorGroup = new SectorGroup();
     sectorGroup.SectorGroupID = sectorGroupID;
     sectorGroup.SectorGroupName = sectorGroupName;
     return sectorGroup;
 }