/// <summary>
 /// Deprecated Method for adding a new object to the EntityTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEntityTypes(EntityType entityType)
 {
     base.AddObject("EntityTypes", entityType);
 }
 /// <summary>
 /// Create a new EntityType object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="tid">Initial value of the Tid property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="createdBy">Initial value of the CreatedBy property.</param>
 /// <param name="modifiedBy">Initial value of the ModifiedBy property.</param>
 /// <param name="created">Initial value of the Created property.</param>
 /// <param name="modified">Initial value of the Modified property.</param>
 /// <param name="version">Initial value of the Version property.</param>
 public static EntityType CreateEntityType(global::System.Int64 id, global::System.String tid, global::System.String name, global::System.String createdBy, global::System.String modifiedBy, global::System.DateTimeOffset created, global::System.DateTimeOffset modified, global::System.String version)
 {
     EntityType entityType = new EntityType();
     entityType.Id = id;
     entityType.Tid = tid;
     entityType.Name = name;
     entityType.CreatedBy = createdBy;
     entityType.ModifiedBy = modifiedBy;
     entityType.Created = created;
     entityType.Modified = modified;
     entityType.Version = version;
     return entityType;
 }