Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SectionOptions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSectionOptions(SectionOption sectionOption)
 {
     base.AddObject("SectionOptions", sectionOption);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new SectionOption object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="sectionId">Initial value of the SectionId property.</param>
 /// <param name="order">Initial value of the Order property.</param>
 public static SectionOption CreateSectionOption(global::System.Int32 id, global::System.Int32 sectionId, global::System.Byte order)
 {
     SectionOption sectionOption = new SectionOption();
     sectionOption.ID = id;
     sectionOption.SectionId = sectionId;
     sectionOption.Order = order;
     return sectionOption;
 }