コード例 #1
0
 /// <summary>
 /// Create a new canton object.
 /// </summary>
 /// <param name="cantonid">Initial value of the cantonid property.</param>
 public static canton Createcanton(global::System.Int16 cantonid)
 {
     canton canton = new canton();
     canton.cantonid = cantonid;
     return canton;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the canton EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTocanton(canton canton)
 {
     base.AddObject("canton", canton);
 }