Example #1
0
        private static PROFISSAORAMOATIVIDADEEntity FillEntityObject(ref FbDataReader DataReader)
        {
            PROFISSAORAMOATIVIDADEEntity entity = new PROFISSAORAMOATIVIDADEEntity();

            FirebirdGetDbData getData = new FirebirdGetDbData();

            entity.IDPROFISSAORAMOATIVIDADE = getData.ConvertDBValueToInt32(DataReader, DataReader.GetOrdinal("IDPROFISSAORAMOATIVIDADE"));
            entity.NOME       = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("NOME"));
            entity.OBSERVACAO = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("OBSERVACAO"));


            return(entity);
        }
Example #2
0
        private static MENSAGEMNFEEntity FillEntityObject(ref FbDataReader DataReader)
        {
            MENSAGEMNFEEntity entity = new MENSAGEMNFEEntity();

            FirebirdGetDbData getData = new FirebirdGetDbData();

            entity.IDMENSAGEMNFE = getData.ConvertDBValueToInt32(DataReader, DataReader.GetOrdinal("IDMENSAGEMNFE"));
            entity.MENSAGEM      = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("MENSAGEM"));
            entity.NOME          = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("NOME"));


            return(entity);
        }
Example #3
0
        private static FORMULARIOEntity FillEntityObject(ref FbDataReader DataReader)
        {
            FORMULARIOEntity entity = new FORMULARIOEntity();

            FirebirdGetDbData getData = new FirebirdGetDbData();

            entity.IDFORMULARIO     = getData.ConvertDBValueToInt32(DataReader, DataReader.GetOrdinal("IDFORMULARIO"));
            entity.NOMEFORMULARIO   = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("NOMEFORMULARIO"));
            entity.NOMETELA         = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("NOMETELA"));
            entity.IDGRUPOFORMLARIO = getData.ConvertDBValueToInt32(DataReader, DataReader.GetOrdinal("IDGRUPOFORMLARIO"));

            return(entity);
        }
Example #4
0
        private static BLOQUEIOTELAEntity FillEntityObject(ref FbDataReader DataReader)
        {
            BLOQUEIOTELAEntity entity = new BLOQUEIOTELAEntity();

            FirebirdGetDbData getData = new FirebirdGetDbData();

            entity.IDBLOQUEIOTELA = getData.ConvertDBValueToInt32(DataReader, DataReader.GetOrdinal("IDBLOQUEIOTELA"));
            entity.IDUSUARIO      = getData.ConvertDBValueToInt32Nullable(DataReader, DataReader.GetOrdinal("IDUSUARIO"));
            entity.IDFORMULARIO   = getData.ConvertDBValueToInt32Nullable(DataReader, DataReader.GetOrdinal("IDFORMULARIO"));


            return(entity);
        }
Example #5
0
        private static MOVIMENTACAOCONTAEntity FillEntityObject(ref FbDataReader DataReader)
        {
            MOVIMENTACAOCONTAEntity entity = new MOVIMENTACAOCONTAEntity();

            FirebirdGetDbData getData = new FirebirdGetDbData();

            entity.IDMOVICONTA      = getData.ConvertDBValueToInt32(DataReader, DataReader.GetOrdinal("IDMOVICONTA"));
            entity.NOMEMOVIMENTACAO = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("NOMEMOVIMENTACAO"));
            entity.OBSERVACAO       = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("OBSERVACAO"));


            return(entity);
        }
Example #6
0
        private static FORMAPAGAMENTOEntity FillEntityObject(ref FbDataReader DataReader)
        {
            FORMAPAGAMENTOEntity entity = new FORMAPAGAMENTOEntity();

            FirebirdGetDbData getData = new FirebirdGetDbData();

            entity.IDFORMAPAGAMENTO = getData.ConvertDBValueToInt32(DataReader, DataReader.GetOrdinal("IDFORMAPAGAMENTO"));
            entity.NOME             = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("NOME"));
            entity.PORCDESCONTO     = getData.ConvertDBValueToDecimalNullable(DataReader, DataReader.GetOrdinal("PORCDESCONTO"));


            return(entity);
        }
Example #7
0
        private static GRUPOAGENDAEntity FillEntityObject(ref FbDataReader DataReader)
        {
            GRUPOAGENDAEntity entity = new GRUPOAGENDAEntity();

            FirebirdGetDbData getData = new FirebirdGetDbData();

            entity.IDGRUPOAGENDA   = getData.ConvertDBValueToInt32(DataReader, DataReader.GetOrdinal("IDGRUPOAGENDA"));
            entity.NOMEGRUPOAGENDA = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("NOMEGRUPOAGENDA"));
            entity.OBSERVACAO      = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("OBSERVACAO"));


            return(entity);
        }
Example #8
0
        private static ESTADOEntity FillEntityObject(ref FbDataReader DataReader)
        {
            ESTADOEntity entity = new ESTADOEntity();

            FirebirdGetDbData getData = new FirebirdGetDbData();

            entity.UF             = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("UF"));
            entity.DESCRICAO_UF   = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("DESCRICAO_UF"));
            entity.CODIGO_UF_IBGE = getData.ConvertDBValueToInt32(DataReader, DataReader.GetOrdinal("CODIGO_UF_IBGE"));


            return(entity);
        }
Example #9
0
        private static MOEDAEntity FillEntityObject(ref FbDataReader DataReader)
        {
            MOEDAEntity entity = new MOEDAEntity();

            FirebirdGetDbData getData = new FirebirdGetDbData();

            entity.IDMOEDA   = getData.ConvertDBValueToInt32(DataReader, DataReader.GetOrdinal("IDMOEDA"));
            entity.NOME      = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("NOME"));
            entity.DESCRICAO = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("DESCRICAO"));


            return(entity);
        }
Example #10
0
        private static MUNICIPIOSEntity FillEntityObject(ref FbDataReader DataReader)
        {
            MUNICIPIOSEntity entity = new MUNICIPIOSEntity();

            FirebirdGetDbData getData = new FirebirdGetDbData();

            entity.COD_MUN_IBGE = getData.ConvertDBValueToInt32(DataReader, DataReader.GetOrdinal("COD_MUN_IBGE"));
            entity.COD_UF_IBGE  = getData.ConvertDBValueToInt32Nullable(DataReader, DataReader.GetOrdinal("COD_UF_IBGE"));
            entity.MUNICIPIO    = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("MUNICIPIO"));


            return(entity);
        }
Example #11
0
        private static FESTASEntity FillEntityObject(ref FbDataReader DataReader)
        {
            FESTASEntity entity = new FESTASEntity();

            FirebirdGetDbData getData = new FirebirdGetDbData();

            entity.IDFESTAS   = getData.ConvertDBValueToInt32(DataReader, DataReader.GetOrdinal("IDFESTAS"));
            entity.NOME       = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("NOME"));
            entity.OBSERVACAO = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("OBSERVACAO"));


            return(entity);
        }
Example #12
0
        private static BANCOEntity FillEntityObject(ref FbDataReader DataReader)
        {
            BANCOEntity entity = new BANCOEntity();

            FirebirdGetDbData getData = new FirebirdGetDbData();

            entity.IDBANCO     = getData.ConvertDBValueToInt32(DataReader, DataReader.GetOrdinal("IDBANCO"));
            entity.NOMEBANCO   = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("NOMEBANCO"));
            entity.NUMEROBANCO = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("NUMEROBANCO"));


            return(entity);
        }
Example #13
0
        private static LIS_PRODUTOSESTMINIEntity FillEntityObject(ref FbDataReader DataReader)
        {
            LIS_PRODUTOSESTMINIEntity entity = new LIS_PRODUTOSESTMINIEntity();

            FirebirdGetDbData getData = new FirebirdGetDbData();

            entity.IDPRODUTO            = getData.ConvertDBValueToInt32(DataReader, DataReader.GetOrdinal("IDPRODUTO"));
            entity.NOMEPRODUTO          = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("NOMEPRODUTO"));
            entity.CODPRODUTOFORNECEDOR = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("CODPRODUTOFORNECEDOR"));
            entity.CODBARRA             = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("CODBARRA"));
            entity.LOCALIZACAO          = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("LOCALIZACAO"));
            entity.DATACADASTRO         = getData.ConvertDBValueToDateTimeNullable(DataReader, DataReader.GetOrdinal("DATACADASTRO"));
            entity.IDUNIDADE            = getData.ConvertDBValueToInt32(DataReader, DataReader.GetOrdinal("IDUNIDADE"));
            entity.NOMEUNIDADE          = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("NOMEUNIDADE"));
            entity.IDMARCA           = getData.ConvertDBValueToInt32(DataReader, DataReader.GetOrdinal("IDMARCA"));
            entity.NOMEMARCA         = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("NOMEMARCA"));
            entity.IDMOEDA           = getData.ConvertDBValueToInt32(DataReader, DataReader.GetOrdinal("IDMOEDA"));
            entity.VALORCUSTOINICIAL = getData.ConvertDBValueToDecimalNullable(DataReader, DataReader.GetOrdinal("VALORCUSTOINICIAL"));
            entity.FRETEPRODUTO      = getData.ConvertDBValueToDecimalNullable(DataReader, DataReader.GetOrdinal("FRETEPRODUTO"));
            entity.ENCARGOSPRODUTOS  = getData.ConvertDBValueToDecimalNullable(DataReader, DataReader.GetOrdinal("ENCARGOSPRODUTOS"));
            entity.VALORCUSTOFINAL   = getData.ConvertDBValueToDecimalNullable(DataReader, DataReader.GetOrdinal("VALORCUSTOFINAL"));
            entity.MARGEMLUCRO       = getData.ConvertDBValueToDecimalNullable(DataReader, DataReader.GetOrdinal("MARGEMLUCRO"));
            entity.VALORVENDA1       = getData.ConvertDBValueToDecimalNullable(DataReader, DataReader.GetOrdinal("VALORVENDA1"));
            entity.VALORVENDA2       = getData.ConvertDBValueToDecimalNullable(DataReader, DataReader.GetOrdinal("VALORVENDA2"));
            entity.VALORVENDA3       = getData.ConvertDBValueToDecimalNullable(DataReader, DataReader.GetOrdinal("VALORVENDA3"));
            entity.COMISSAO          = getData.ConvertDBValueToDecimalNullable(DataReader, DataReader.GetOrdinal("COMISSAO"));
            entity.IPI                = getData.ConvertDBValueToDecimalNullable(DataReader, DataReader.GetOrdinal("IPI"));
            entity.ICMS               = getData.ConvertDBValueToDecimalNullable(DataReader, DataReader.GetOrdinal("ICMS"));
            entity.QUANTIDADEMINIMA   = getData.ConvertDBValueToDecimalNullable(DataReader, DataReader.GetOrdinal("QUANTIDADEMINIMA"));
            entity.IDGRUPOCATEGORIA   = getData.ConvertDBValueToInt32(DataReader, DataReader.GetOrdinal("IDGRUPOCATEGORIA"));
            entity.NOMEGRUPOCATEGORIA = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("NOMEGRUPOCATEGORIA"));
            entity.IDSTATUS           = getData.ConvertDBValueToInt32(DataReader, DataReader.GetOrdinal("IDSTATUS"));
            entity.NOMESTATUS         = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("NOMESTATUS"));
            entity.OBSERVACAO         = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("OBSERVACAO"));
            entity.PORCFRETE          = getData.ConvertDBValueToDecimalNullable(DataReader, DataReader.GetOrdinal("PORCFRETE"));
            entity.PORCENCARGOS       = getData.ConvertDBValueToDecimalNullable(DataReader, DataReader.GetOrdinal("PORCENCARGOS"));
            entity.PORCMARGEMLUCRO    = getData.ConvertDBValueToDecimalNullable(DataReader, DataReader.GetOrdinal("PORCMARGEMLUCRO"));
            entity.PORCVENDA2         = getData.ConvertDBValueToDecimalNullable(DataReader, DataReader.GetOrdinal("PORCVENDA2"));
            entity.PORCVENDA3         = getData.ConvertDBValueToDecimalNullable(DataReader, DataReader.GetOrdinal("PORCVENDA3"));
            entity.PESO               = getData.ConvertDBValueToDecimalNullable(DataReader, DataReader.GetOrdinal("PESO"));
            entity.CODCLASSFISCAL     = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("CODCLASSFISCAL"));
            entity.CODSITTRIBU        = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("CODSITTRIBU"));
            entity.NCMSH              = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("NCMSH"));
            entity.EXTIPI             = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("EXTIPI"));
            entity.ALIQPIS            = getData.ConvertDBValueToDecimalNullable(DataReader, DataReader.GetOrdinal("ALIQPIS"));
            entity.ALIQCOFINS         = getData.ConvertDBValueToDecimalNullable(DataReader, DataReader.GetOrdinal("ALIQCOFINS"));
            entity.CSTPISCONFIS       = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("CSTPISCONFIS"));


            return(entity);
        }
        private static ARQUIVOCLIENTEEntity FillEntityObject(ref FbDataReader DataReader)
        {
            ARQUIVOCLIENTEEntity entity = new ARQUIVOCLIENTEEntity();

            FirebirdGetDbData getData = new FirebirdGetDbData();

            entity.IDARQUIVOCLIENTE = getData.ConvertDBValueToInt32(DataReader, DataReader.GetOrdinal("IDARQUIVOCLIENTE"));
            entity.IDCLIENTE        = getData.ConvertDBValueToInt32Nullable(DataReader, DataReader.GetOrdinal("IDCLIENTE"));
            entity.NOME             = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("NOME"));
            entity.TIPO             = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("TIPO"));
            entity.FOTO             = getData.ConvertDBValueToBytes(DataReader, DataReader.GetOrdinal("FOTO"));

            return(entity);
        }
Example #15
0
        private static LIS_PEDIDOOTICA2Entity FillEntityObject(ref FbDataReader DataReader)
        {
            LIS_PEDIDOOTICA2Entity entity = new LIS_PEDIDOOTICA2Entity();

            FirebirdGetDbData getData = new FirebirdGetDbData();

            entity.IDFORMAPAGAMENTO = getData.ConvertDBValueToInt32(DataReader, DataReader.GetOrdinal("IDFORMAPAGAMENTO"));
            entity.TOTALPEDIDO      = getData.ConvertDBValueToDecimalNullable(DataReader, DataReader.GetOrdinal("TOTALPEDIDO"));
            entity.DTEMISSAO        = getData.ConvertDBValueToDateTimeNullable(DataReader, DataReader.GetOrdinal("DTEMISSAO"));
            entity.NOMEFORMPAGTO    = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("NOMEFORMPAGTO"));


            return(entity);
        }
Example #16
0
        private static ITENSFESTASEntity FillEntityObject(ref FbDataReader DataReader)
        {
            ITENSFESTASEntity entity = new ITENSFESTASEntity();

            FirebirdGetDbData getData = new FirebirdGetDbData();

            entity.IDITENSFESTAS = getData.ConvertDBValueToInt32(DataReader, DataReader.GetOrdinal("IDITENSFESTAS"));
            entity.IDFESTA       = getData.ConvertDBValueToInt32Nullable(DataReader, DataReader.GetOrdinal("IDFESTA"));
            entity.OBSERVACAO    = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("OBSERVACAO"));
            entity.TOTALITENS    = getData.ConvertDBValueToDecimalNullable(DataReader, DataReader.GetOrdinal("TOTALITENS"));


            return(entity);
        }
Example #17
0
        private static COMPOSICAOEntity FillEntityObject(ref FbDataReader DataReader)
        {
            COMPOSICAOEntity entity = new COMPOSICAOEntity();

            FirebirdGetDbData getData = new FirebirdGetDbData();

            entity.IDCOMPOSICAO   = getData.ConvertDBValueToInt32(DataReader, DataReader.GetOrdinal("IDCOMPOSICAO"));
            entity.NOMECOMPOSICAO = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("NOMECOMPOSICAO"));
            entity.VALORTOTAL     = getData.ConvertDBValueToDecimalNullable(DataReader, DataReader.GetOrdinal("VALORTOTAL"));
            entity.DESCRICAO      = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("DESCRICAO"));


            return(entity);
        }
Example #18
0
        private static COMPOSPRODUTOEntity FillEntityObject(ref FbDataReader DataReader)
        {
            COMPOSPRODUTOEntity entity = new COMPOSPRODUTOEntity();

            FirebirdGetDbData getData = new FirebirdGetDbData();

            entity.IDCOMPOSPRODUTO = getData.ConvertDBValueToInt32(DataReader, DataReader.GetOrdinal("IDCOMPOSPRODUTO"));
            entity.QUANTIDADE      = getData.ConvertDBValueToDecimalNullable(DataReader, DataReader.GetOrdinal("QUANTIDADE"));
            entity.IDPRODUTO       = getData.ConvertDBValueToInt32Nullable(DataReader, DataReader.GetOrdinal("IDPRODUTO"));
            entity.IDCOMPOSICAO    = getData.ConvertDBValueToInt32Nullable(DataReader, DataReader.GetOrdinal("IDCOMPOSICAO"));


            return(entity);
        }
Example #19
0
        private static LABELTELAEntity FillEntityObject(ref FbDataReader DataReader)
        {
            LABELTELAEntity entity = new LABELTELAEntity();

            FirebirdGetDbData getData = new FirebirdGetDbData();

            entity.IDLABELTELA  = getData.ConvertDBValueToInt32(DataReader, DataReader.GetOrdinal("IDLABELTELA"));
            entity.NOMELABEL    = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("NOMELABEL"));
            entity.TEXTOLABEL   = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("TEXTOLABEL"));
            entity.IDFORMULARIO = getData.ConvertDBValueToInt32Nullable(DataReader, DataReader.GetOrdinal("IDFORMULARIO"));


            return(entity);
        }
Example #20
0
        private static TABULADOREntity FillEntityObject(ref FbDataReader DataReader)
        {
            TABULADOREntity entity = new TABULADOREntity();

            FirebirdGetDbData getData = new FirebirdGetDbData();

            entity.IDTABULADOR = getData.ConvertDBValueToInt32(DataReader, DataReader.GetOrdinal("IDTABULADOR"));
            entity.NOME        = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("NOME"));
            entity.ESPACAMENTO = getData.ConvertDBValueToInt32Nullable(DataReader, DataReader.GetOrdinal("ESPACAMENTO"));
            entity.IDTELA      = getData.ConvertDBValueToInt32Nullable(DataReader, DataReader.GetOrdinal("IDTELA"));


            return(entity);
        }
Example #21
0
        private static WEBSERVICEEntity FillEntityObject(ref FbDataReader DataReader)
        {
            WEBSERVICEEntity entity = new WEBSERVICEEntity();

            FirebirdGetDbData getData = new FirebirdGetDbData();

            entity.WEBSERVICEID = getData.ConvertDBValueToInt32(DataReader, DataReader.GetOrdinal("WEBSERVICEID"));
            entity.CAMINHO      = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("CAMINHO"));
            entity.IDUF         = getData.ConvertDBValueToInt32Nullable(DataReader, DataReader.GetOrdinal("IDUF"));
            entity.OBSERVACAO   = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("OBSERVACAO"));


            return(entity);
        }
Example #22
0
        private static ORIGEMMERCADORIAEntity FillEntityObject(ref FbDataReader DataReader)
        {
            ORIGEMMERCADORIAEntity entity = new ORIGEMMERCADORIAEntity();

            FirebirdGetDbData getData = new FirebirdGetDbData();

            entity.IDORIGEMMERC = getData.ConvertDBValueToInt32(DataReader, DataReader.GetOrdinal("IDORIGEMMERC"));
            entity.CODIGO       = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("CODIGO"));
            entity.DESCRICAO    = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("DESCRICAO"));
            entity.OBSERVACAO   = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("OBSERVACAO"));


            return(entity);
        }
Example #23
0
        private static CENTROCUSTOSEntity FillEntityObject(ref FbDataReader DataReader)
        {
            CENTROCUSTOSEntity entity = new CENTROCUSTOSEntity();

            FirebirdGetDbData getData = new FirebirdGetDbData();

            entity.IDCENTROCUSTOS = getData.ConvertDBValueToInt32(DataReader, DataReader.GetOrdinal("IDCENTROCUSTOS"));
            entity.CENTROCUSTO    = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("CENTROCUSTO"));
            entity.DESCRICAO      = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("DESCRICAO"));
            entity.OBSERVACAO     = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("OBSERVACAO"));


            return(entity);
        }
Example #24
0
        private static CODMOVESTOQUEEntity FillEntityObject(ref FbDataReader DataReader)
        {
            CODMOVESTOQUEEntity entity = new CODMOVESTOQUEEntity();

            FirebirdGetDbData getData = new FirebirdGetDbData();

            entity.IDCODMOVESTOQUE = getData.ConvertDBValueToInt32(DataReader, DataReader.GetOrdinal("IDCODMOVESTOQUE"));
            entity.CODIGO          = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("CODIGO"));
            entity.NOME            = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("NOME"));
            entity.OBSERVACAO      = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("OBSERVACAO"));


            return(entity);
        }
Example #25
0
        private static CONTRATOEntity FillEntityObject(ref FbDataReader DataReader)
        {
            CONTRATOEntity entity = new CONTRATOEntity();

            FirebirdGetDbData getData = new FirebirdGetDbData();

            entity.IDCONTRATO    = getData.ConvertDBValueToInt32(DataReader, DataReader.GetOrdinal("IDCONTRATO"));
            entity.NOME          = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("NOME"));
            entity.DESCRICAO     = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("DESCRICAO"));
            entity.FLAGPRINCIPAL = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("FLAGPRINCIPAL"));


            return(entity);
        }
Example #26
0
        private static MESAEntity FillEntityObject(ref FbDataReader DataReader)
        {
            MESAEntity entity = new MESAEntity();

            FirebirdGetDbData getData = new FirebirdGetDbData();

            entity.IDMESA      = getData.ConvertDBValueToInt32(DataReader, DataReader.GetOrdinal("IDMESA"));
            entity.NUMERO      = getData.ConvertDBValueToInt32Nullable(DataReader, DataReader.GetOrdinal("NUMERO"));
            entity.OBSERVACAO  = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("OBSERVACAO"));
            entity.FLAGOCUPADA = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("FLAGOCUPADA"));


            return(entity);
        }
Example #27
0
        private static LIS_SCRIPTVERSAOEntity FillEntityObject(ref FbDataReader DataReader)
        {
            LIS_SCRIPTVERSAOEntity entity = new LIS_SCRIPTVERSAOEntity();

            FirebirdGetDbData getData = new FirebirdGetDbData();

            entity.IDSCRIPT     = getData.ConvertDBValueToInt32(DataReader, DataReader.GetOrdinal("IDSCRIPT"));
            entity.IDVERSAO     = getData.ConvertDBValueToInt32(DataReader, DataReader.GetOrdinal("IDVERSAO"));
            entity.DESCRICAO    = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("DESCRICAO"));
            entity.NUMEROVERSAO = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("NUMEROVERSAO"));


            return(entity);
        }
Example #28
0
        private static LOCALCOBRANCAEntity FillEntityObject(ref FbDataReader DataReader)
        {
            LOCALCOBRANCAEntity entity = new LOCALCOBRANCAEntity();

            FirebirdGetDbData getData = new FirebirdGetDbData();

            entity.IDLOCALCOBRANCA = getData.ConvertDBValueToInt32(DataReader, DataReader.GetOrdinal("IDLOCALCOBRANCA"));
            entity.CODIGOCOBRANCA  = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("CODIGOCOBRANCA"));
            entity.NOME            = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("NOME"));
            entity.OBSERVACAO      = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("OBSERVACAO"));


            return(entity);
        }
Example #29
0
        private static ABERTURACAIXAEntity FillEntityObject(ref FbDataReader DataReader)
        {
            ABERTURACAIXAEntity entity = new ABERTURACAIXAEntity();

            FirebirdGetDbData getData = new FirebirdGetDbData();

            entity.IDABERTURACAIXA = getData.ConvertDBValueToInt32(DataReader, DataReader.GetOrdinal("IDABERTURACAIXA"));
            entity.DATA            = getData.ConvertDBValueToDateTimeNullable(DataReader, DataReader.GetOrdinal("DATA"));
            entity.IDFUNCIONARIO   = getData.ConvertDBValueToInt32Nullable(DataReader, DataReader.GetOrdinal("IDFUNCIONARIO"));
            entity.VALOR           = getData.ConvertDBValueToDecimalNullable(DataReader, DataReader.GetOrdinal("VALOR"));


            return(entity);
        }
Example #30
0
        private static ECFEntity FillEntityObject(ref FbDataReader DataReader)
        {
            ECFEntity entity = new ECFEntity();

            FirebirdGetDbData getData = new FirebirdGetDbData();

            entity.ID_ECF  = getData.ConvertDBValueToInt32(DataReader, DataReader.GetOrdinal("ID_ECF"));
            entity.ECF_MOD = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("ECF_MOD"));
            entity.ECF_FAB = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("ECF_FAB"));
            entity.ECF_CX  = getData.ConvertDBValueToStringNullable(DataReader, DataReader.GetOrdinal("ECF_CX"));


            return(entity);
        }