private void DataPortal_Create(CriteriaCs criteria) { _base.Record.Oid = (long)(new Random()).Next(); Fecha = DateTime.Today; FechaAlta = DateTime.Today; ExpirationDate = DateTime.MaxValue; _agente_documentos = AgenteDocumentos.NewChildList(); }
private void DataPortal_Create(CriteriaCs criteria) { _base.Record.Oid = (long)(new Random()).Next(); Serial = GetNewSerial(); Codigo = GetCode(); _documentos = AgenteDocumentos.NewChildList(); }