/// <summary>
 /// Deprecated Method for adding a new object to the Endpoints EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEndpoints(Endpoint endpoint)
 {
     base.AddObject("Endpoints", endpoint);
 }
 /// <summary>
 /// Create a new Endpoint 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="version">Initial value of the Version property.</param>
 /// <param name="routeTemplate">Initial value of the RouteTemplate property.</param>
 /// <param name="routePrefix">Initial value of the RoutePrefix property.</param>
 /// <param name="serverRole">Initial value of the ServerRole property.</param>
 /// <param name="priority">Initial value of the Priority property.</param>
 /// <param name="created">Initial value of the Created property.</param>
 /// <param name="createdBy">Initial value of the CreatedBy property.</param>
 /// <param name="modified">Initial value of the Modified property.</param>
 /// <param name="modifiedBy">Initial value of the ModifiedBy property.</param>
 /// <param name="address">Initial value of the Address property.</param>
 public static Endpoint CreateEndpoint(global::System.Int64 id, global::System.String tid, global::System.String name, global::System.String version, global::System.String routeTemplate, global::System.String routePrefix, global::System.String serverRole, global::System.Int32 priority, global::System.DateTimeOffset created, global::System.String createdBy, global::System.DateTimeOffset modified, global::System.String modifiedBy, global::System.String address)
 {
     Endpoint endpoint = new Endpoint();
     endpoint.Id = id;
     endpoint.Tid = tid;
     endpoint.Name = name;
     endpoint.Version = version;
     endpoint.RouteTemplate = routeTemplate;
     endpoint.RoutePrefix = routePrefix;
     endpoint.ServerRole = serverRole;
     endpoint.Priority = priority;
     endpoint.Created = created;
     endpoint.CreatedBy = createdBy;
     endpoint.Modified = modified;
     endpoint.ModifiedBy = modifiedBy;
     endpoint.Address = address;
     return endpoint;
 }