/// <summary> /// Deprecated Method for adding a new object to the ObjectTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToObjectTypes(ObjectTypes objectTypes) { base.AddObject("ObjectTypes", objectTypes); }
/// <summary> /// Create a new ObjectTypes object. /// </summary> /// <param name="objectTypeID">Initial value of the ObjectTypeID property.</param> /// <param name="name">Initial value of the Name property.</param> public static ObjectTypes CreateObjectTypes(global::System.Int32 objectTypeID, global::System.String name) { ObjectTypes objectTypes = new ObjectTypes(); objectTypes.ObjectTypeID = objectTypeID; objectTypes.Name = name; return objectTypes; }