コード例 #1
0
        public List <UniqueExpression> GetUniqueCollection()
        {
            UniqueExpressionCollection <Avaliacao> UElist = new UniqueExpressionCollection <Avaliacao>();

            UElist.AddExpression("Codigo", x => x.Codigo.Equals(Codigo));

            return(UElist.List);
        }
コード例 #2
0
        public List <UniqueExpression> GetUniqueCollection()
        {
            UniqueExpressionCollection <Instituicao> UElist = new UniqueExpressionCollection <Instituicao>();

            UElist.AddExpression("Nome", x => x.Nome.Equals(Nome));

            return(UElist.List);
        }
コード例 #3
0
        public List <UniqueExpression> GetUniqueCollection()
        {
            UniqueExpressionCollection <Disciplina> UElist = new UniqueExpressionCollection <Disciplina>();

            UElist.AddExpression("Codigo", x => x.Codigo.Equals(Codigo));
            UElist.AddExpression("Nome", x => x.Nome.Equals(Nome));

            return(UElist.List);
        }
コード例 #4
0
        public List <UniqueExpression> GetUniqueCollection()
        {
            UniqueExpressionCollection <Professor> UElist = new UniqueExpressionCollection <Professor>();

            UElist.AddExpression("Codigo", x => x.Codigo.Equals(Codigo));
            UElist.AddExpression("Nome", x => x.Nome.Equals(Nome));
            UElist.AddExpression("Email", x => x.Email.Equals(Email));

            return(UElist.List);
        }