Exemplo n.º 1
0
 /// <summary>
 /// Create a new Key object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 public static Key CreateKey(global::System.String id)
 {
     Key key = new Key();
     key.Id = id;
     return key;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the KeySet EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToKeySet(Key key)
 {
     base.AddObject("KeySet", key);
 }