/// <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(ObjectType objectType) { base.AddObject("ObjectTypes", objectType); }
/// <summary> /// Create a new ObjectType object. /// </summary> /// <param name="objectTypeID">Initial value of the ObjectTypeID property.</param> /// <param name="description">Initial value of the Description property.</param> public static ObjectType CreateObjectType(global::System.Guid objectTypeID, global::System.String description) { ObjectType objectType = new ObjectType(); objectType.ObjectTypeID = objectTypeID; objectType.Description = description; return objectType; }