示例#1
0
 /// <summary>
 /// Create a new canonical object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="redux_id">Initial value of the redux_id property.</param>
 /// <param name="isCanonical">Initial value of the IsCanonical property.</param>
 public static canonical Createcanonical(global::System.Int32 id, global::System.Int32 redux_id, global::System.Boolean isCanonical)
 {
     canonical canonical = new canonical();
     canonical.id = id;
     canonical.redux_id = redux_id;
     canonical.IsCanonical = isCanonical;
     return canonical;
 }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the canonicals EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTocanonicals(canonical canonical)
 {
     base.AddObject("canonicals", canonical);
 }