- Atualizado `.gitignore` para ignorar `FodyWeavers.xsd` e `.history`. - Adicionado suporte a MVVM com `MainWindowViewModel` e comandos. - Criados conversores `BoolToVisibilityConverter` e `StringToVisibilityConverter`. - Implementado `AccessService` para acesso ao banco de dados Access. - Adicionado layout e lógica de interface no `MainWindow.xaml` e `.cs`. - Incluída dependência `System.Data.OleDb` no projeto. - Criados `ClienteSmart` e `IClienteRepository` para modelagem de dados.
21 lines
649 B
C#
21 lines
649 B
C#
using System.ComponentModel;
|
|
|
|
namespace BD_empresa.Data
|
|
{
|
|
public class ClienteSmart : INotifyPropertyChanged
|
|
{
|
|
public string? Gestao { get; set; }
|
|
public string? Cliente { get; set; }
|
|
public string? Unidade { get; set; }
|
|
public string? CNPJ_CPF { get; set; }
|
|
public string? Codigo_Instalacao { get; set; }
|
|
public string? Razao_Social { get; set; }
|
|
|
|
public event PropertyChangedEventHandler? PropertyChanged;
|
|
protected void OnPropertyChanged(string propertyName)
|
|
{
|
|
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
|
}
|
|
}
|
|
}
|