/// <summary> /// Deprecated Method for adding a new object to the Empresa EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEmpresa(Empresa empresa) { base.AddObject("Empresa", empresa); }
/// <summary> /// Create a new Empresa object. /// </summary> /// <param name="idEmpresa">Initial value of the IdEmpresa property.</param> public static Empresa CreateEmpresa(global::System.Int32 idEmpresa) { Empresa empresa = new Empresa(); empresa.IdEmpresa = idEmpresa; return empresa; }