/// <summary>
 /// Create a new Concessionaria object.
 /// </summary>
 /// <param name="id_Concessionaria">Initial value of the Id_Concessionaria property.</param>
 public static Concessionaria CreateConcessionaria(global::System.Int32 id_Concessionaria)
 {
     Concessionaria concessionaria = new Concessionaria();
     concessionaria.Id_Concessionaria = id_Concessionaria;
     return concessionaria;
 }
 public static bool isAnyVeiculo(ref Concessionaria concessionaria)
 {
     return concessionaria.VeiculoMotorista.Any();
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Concessionaria EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToConcessionaria(Concessionaria concessionaria)
 {
     base.AddObject("Concessionaria", concessionaria);
 }