/// <summary> /// Deprecated Method for adding a new object to the Lookup EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLookup(Lookup lookup) { base.AddObject("Lookup", lookup); }
/// <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; }