예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Sections EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSections(Section section)
 {
     base.AddObject("Sections", section);
 }
예제 #2
0
 /// <summary>
 /// Create a new Section object.
 /// </summary>
 /// <param name="sysName">Initial value of the SysName property.</param>
 /// <param name="langId">Initial value of the LangId property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="body">Initial value of the Body property.</param>
 /// <param name="usage">Initial value of the Usage property.</param>
 public static Section CreateSection(global::System.String sysName, global::System.Int32 langId, global::System.String name, global::System.String body, global::System.String usage)
 {
     Section section = new Section();
     section.SysName = sysName;
     section.LangId = langId;
     section.Name = name;
     section.Body = body;
     section.Usage = usage;
     return section;
 }