コード例 #1
0
        public void Save()
        {
            try
            {
                DBLayers.BLL.Regras.Cliente cliente = new DBLayers.BLL.Regras.Cliente();
                cliente.Instance = this.Instancia;
                cliente.Insert();

            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
コード例 #2
0
 public void FillUserControl(int CodigoCliente)
 {
     if (!IsPostBack)
     {
         this.CodigoCliente = CodigoCliente;
         DBLayers.BLL.Regras.Cliente cliente = new DBLayers.BLL.Regras.Cliente();
         cliente.Select(CodigoCliente);
         this.Instancia = cliente.Instance;
     }
 }