PRIMAVERA | Developers

    Show / Hide Table of Contents

    Class RhpBELinhasModeloTC2

    Classe que encapsula toda a definição de um conjunto de linhas de detalhe do Modelo TC2.

    Inheritance
    System.Object
    RhpBELinhasModeloTC2
    Implements
    System.Collections.Generic.IEnumerable<RhpBELinhaModeloTC2>
    System.Collections.IEnumerable
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: RhpBE100
    Assembly: RhpBE100.dll
    Syntax
    public class RhpBELinhasModeloTC2 : IEnumerable<RhpBELinhaModeloTC2>, IEnumerable

    Constructors

    RhpBELinhasModeloTC2()

    Cria a colecção quando esta classe é criada.

    Declaration
    public RhpBELinhasModeloTC2()

    RhpBELinhasModeloTC2(IEnumerable<RhpBELinhaModeloTC2>)

    Declaration
    public RhpBELinhasModeloTC2(IEnumerable<RhpBELinhaModeloTC2> items)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<RhpBELinhaModeloTC2> items

    Properties

    NumItens

    Devolve o número de itens da colecção.

    Declaration
    public int NumItens { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    Add(Object)

    Insere um novo item na colecção.

    Declaration
    public void Add(object objCampo)
    Parameters
    Type Name Description
    System.Object objCampo

    BuildKey(String, String, String, String, String)

    Devolve uma chave

    Declaration
    public string BuildKey(string Funcionario, string Epigrafe, string ChavesBases, string TipoContrato, string ChavesDeducao)
    Parameters
    Type Name Description
    System.String Funcionario

    Identificador do Funcionário.

    System.String Epigrafe

    Identificador da Epigrafe.

    System.String ChavesBases

    Identificador das Chaves Base.

    System.String TipoContrato

    Identificador do Tipo de Contrato.

    System.String ChavesDeducao

    Identificador das Chaves de Dedução.

    Returns
    Type Description
    System.String

    BuildKeyEX(String, String, String, String, String, String)

    Devolve uma chave

    Declaration
    public string BuildKeyEX(string Funcionario, string Epigrafe, string ChavesBases, string TipoContrato, string ChavesDeducao, string TipoBaseReguladora)
    Parameters
    Type Name Description
    System.String Funcionario

    Identificador do Funcionário.

    System.String Epigrafe

    Identificador da Epigrafe.

    System.String ChavesBases

    Identificador das Chaves Base.

    System.String TipoContrato

    Identificador do Tipo de Contrato.

    System.String ChavesDeducao

    Identificador das Chaves de Dedução.

    System.String TipoBaseReguladora
    Returns
    Type Description
    System.String

    BuildKeyEX1(String, String, String, String, String, String, String)

    Devolve uma chave

    Declaration
    public string BuildKeyEX1(string Funcionario, string Epigrafe, string ChavesBases, string TipoContrato, string ChavesDeducao, string TipoBaseReguladora, string SituacaoEspecial)
    Parameters
    Type Name Description
    System.String Funcionario

    Identificador do Funcionário.

    System.String Epigrafe

    Identificador da Epigrafe.

    System.String ChavesBases

    Identificador das Chaves Base.

    System.String TipoContrato

    Identificador do Tipo de Contrato.

    System.String ChavesDeducao

    Identificador das Chaves de Dedução.

    System.String TipoBaseReguladora

    Identificador da base reguladora.

    System.String SituacaoEspecial
    Returns
    Type Description
    System.String

    BuildKeyEX2(String, String, String, String, String, String, String, Byte)

    Devolve uma chave

    Declaration
    public string BuildKeyEX2(string Funcionario, string Epigrafe, string ChavesBases, string TipoContrato, string ChavesDeducao, string TipoBaseReguladora, string SituacaoEspecial, byte HorasDias)
    Parameters
    Type Name Description
    System.String Funcionario

    Identificador do Funcionário.

    System.String Epigrafe

    Identificador da Epigrafe.

    System.String ChavesBases

    Identificador das Chaves Base.

    System.String TipoContrato

    Identificador do Tipo de Contrato.

    System.String ChavesDeducao

    Identificador das Chaves de Dedução.

    System.String TipoBaseReguladora

    Identificador da base reguladora.

    System.String SituacaoEspecial
    System.Byte HorasDias
    Returns
    Type Description
    System.String

    Finalize()

    Destrói a colecção quando esta classe é destruída.

    Declaration
    protected void Finalize()

    GetEdita(Object)

    Edita o objecto respectivo.

    Declaration
    public RhpBELinhaModeloTC2 GetEdita(dynamic varIndex)
    Parameters
    Type Name Description
    System.Object varIndex
    Returns
    Type Description
    RhpBELinhaModeloTC2

    GetEnumerator()

    Declaration
    public IEnumerator GetEnumerator()
    Returns
    Type Description
    System.Collections.IEnumerator

    GetExiste(String)

    Indica se o item existe na colecção.

    Declaration
    public bool GetExiste(string strKey)
    Parameters
    Type Name Description
    System.String strKey
    Returns
    Type Description
    System.Boolean

    Insere(RhpBELinhaModeloTC2)

    Insere um objecto do tipo RhpBELinhaTC2 na colecção de linhas.

    Declaration
    public dynamic Insere(RhpBELinhaModeloTC2 objBE)
    Parameters
    Type Name Description
    RhpBELinhaModeloTC2 objBE
    Returns
    Type Description
    System.Object

    InsereEX(RhpBELinhaModeloTC2)

    Insere um objecto do tipo RhpBELinhaTC2 na colecção de linhas.

    Declaration
    public dynamic InsereEX(RhpBELinhaModeloTC2 objBE)
    Parameters
    Type Name Description
    RhpBELinhaModeloTC2 objBE
    Returns
    Type Description
    System.Object

    Remove(Object)

    Remove um item da colecção.

    Declaration
    public void Remove(dynamic Index)
    Parameters
    Type Name Description
    System.Object Index

    RemoveTodos()

    Remove todos os items da colecção

    Declaration
    public void RemoveTodos()

    Implements

    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable