/// <summary> /// Create a new Marca object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="nome">Initial value of the Nome property.</param> public static Marca CreateMarca(global::System.Int64 id, global::System.String nome) { Marca marca = new Marca(); marca.Id = id; marca.Nome = nome; return marca; }
/// <summary> /// Deprecated Method for adding a new object to the Marcas EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMarcas(Marca marca) { base.AddObject("Marcas", marca); }