/// <summary>
 /// Create a new GateDefinition object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="templateId">Initial value of the TemplateId property.</param>
 public static GateDefinition CreateGateDefinition(global::System.Int32 id, global::System.String name, global::System.Int32 templateId)
 {
     GateDefinition gateDefinition = new GateDefinition();
     gateDefinition.Id = id;
     gateDefinition.Name = name;
     gateDefinition.TemplateId = templateId;
     return gateDefinition;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the GateDefinitions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToGateDefinitions(GateDefinition gateDefinition)
 {
     base.AddObject("GateDefinitions", gateDefinition);
 }