Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Lookup EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLookup(Lookup lookup)
 {
     base.AddObject("Lookup", lookup);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new Lookup object.
 /// </summary>
 /// <param name="lookupId">Initial value of the LookupId property.</param>
 /// <param name="lookupTypeId">Initial value of the LookupTypeId property.</param>
 public static Lookup CreateLookup(global::System.Int32 lookupId, global::System.Int32 lookupTypeId)
 {
     Lookup lookup = new Lookup();
     lookup.LookupId = lookupId;
     lookup.LookupTypeId = lookupTypeId;
     return lookup;
 }