described simple described formally

howtodoIT.NET

Professional Guide

Main menu

Skip to primary content
Skip to secondary content
  • Home
  • About
  • About me
  • Sign In

Home > ORM > NHibernate > Querying

Querying with NHibernate using Criteria Queries

Code sample article
Published on April 25, 2010 by João Seixas

Refer to this article for description and operation templates. Refer to this article for base sample of querying with NHibernate.

Published in Criteria Queries | Tagged ICriteria, NHibernate

Templates for Query Execution with QueryOver

Description
Published on April 24, 2010 by João Seixas

The QueryOver API combines the use of extension methods and lambda expressions (introduced on Net 3.5) to provide statically typesafe wrapper around the ICriteria API in order to remove the obligation of use of strings to express properties, filters, etc. … Continue reading →

Published in QueryOver | Tagged NHibernate, QueryOver

Description and Querying Samples

Description / Code sample article
Published on February 24, 2010 by João Seixas

Code samples of how to query using older and new NHibernate querying methods, namelly: HQL – First query method implemented on first version of NHibernatem as a SQL-like language and based on static strings; Criteria Queries – An object-like query … Continue reading →

Published in Querying | Tagged HQL, ICriteria, Linq2NHibernate, QueryOver

Querying with NHibernate using QueryOver

Code sample article
Published on January 26, 2010 by João Seixas

Refer to this article for description and operation templates. Refer to this article for base samples of querying with NHibernate.

Published in QueryOver | Tagged NHibernate, QueryOver

Templates for Query Execution with Native SQL

Description
Published on January 10, 2009 by João Seixas

Queries can be native  in the SQL dialect of ther database. It also provides a clean migration path from a direct SQL/ADO.NET based application to NHibernate.

Published in Native Queries | Tagged ISQLQuery

Templates for Query Execution with HQL

Description
Published on January 10, 2009 by João Seixas

H(ibernate) Q(uery) L(anguage) is a provider neutral SQL-like language. It has advanced capabilities and is defined as a static string.

Published in Hibernate Query Language (HQL) | Tagged HQL, NHibernate

Templates for Query Execution with Criteria Queries

Description
Published on January 3, 2009 by João Seixas

The API Criteriais a object-like way for building dynamic runtime queries. Property names are parameterized as strings. The NHibernate.Criterion namespace is used

Published in Criteria Queries | Tagged ICriteria, NHibernate

    Powered by Google Translate.
João Seixas
jppseixas@gmail.com


  • expand.NET Framework Features (28)
    • expandAnonymous (2)
    • expandCollections (1)
    • expandConversions (1)
    • expandExpression Trees (3)
    • expandExtensions (1)
    • expandGenerics (9)
    • expandLambda Expressions (1)
    • expandReflection (1)
    • expandSerialization (9)
      • expandSerializing with Data Contracts (7)
      • expandSerializing with XMLSerializer (2)
  • expandADO.NET (2)
    • expandEntity Framework (1)
    • expandSQL Server Native XML Support (1)
  • expandAPI Development (15)
  • expandASP.NET (21)
    • expandIIS (10)
    • expandProject Compilation (3)
    • expandRewriting (3)
    • expandRouting (4)
  • expandDesign Patterns (12)
    • expandDistribution Patterns (1)
    • expandDomain Logic Patterns (5)
      • expandSpecification Pattern (4)
    • expandObject-Relational Metadata Mapping Patterns: (1)
    • expandPersistence (5)
      • expandRepository Pattern (3)
      • expandUnit Of Work Pattern (2)
  • expandExceptions & Errors (2)
  • expandLanguage Integrated Query (LINQ) (13)
    • expandLinq To Datasets (1)
    • expandLinq To Objects (3)
    • expandLinq To XML (XLINQ) (5)
  • expandMarkup Languages (15)
    • expandJSON (2)
    • expandXML (13)
      • expandXPath (1)
  • expandMicrosoft Dynamics CRM (3)
    • expandPlugin Extensions (3)
  • collapseORM (60)
    • expandEntity Framework (52)
      • expandCode First Model (14)
        • expandCode First and Relationships (5)
          • expandConfiguring relationships (4)
        • expandHow to do it (2)
      • expandDbContext (22)
        • expandChange Tracker API (6)
        • expandQuerying with DbContext (7)
          • expandQuerying related data (3)
    • expandLinq To SQL (12)
    • collapseNHibernate (13)
      • NHibernate Common Exceptions
      • expandBasics (2)
      • expandConfiguration and Session (1)
      • expandMapping (1)
      • collapseQuerying (7)
        • Description and Querying Samples
        • expandCriteria Queries (2)
        • expandHibernate Query Language (HQL) (1)
        • expandNative Queries (1)
        • expandQueryOver (2)
  • expandProfessional Projects (8)
  • expandProtocols (1)
  • expandRDMBS (24)
    • expandSQL Server (24)
      • expandXML (21)
  • expandSoftware Architecture (7)
    • expandDomain Driven Design (DDD): Description (5)
    • expandDomain Driven Design (DDD): Implementation (2)
  • expandTerminology (1)
  • expandWCF (19)
    • expandWCF Services (17)
      • expandDeveloping WCF ReST Services (5)
      • expandDeveloping WCF Services (7)
  • expandWCF Data Services (17)
    • expandConsuming WCF Data Services (7)
      • expandClient Development (1)
      • expandQuery Execution (2)
      • expandQuerying Services (4)
    • expandDeveloping WCF Data Services (8)
  • expandWeb Services (11)
    • expandDeveloping ASP.NET Web Services (7)
    • expandReST (2)
      • expandDeveloping Web Services ReST (1)

Tags

Expressions Extensions Generics Hosting HQL HttpRequest ICriteria IIS ISQLQuery JSON Lambdas Linq Linq2DataSet Linq2NHibernate Linq2SQL Linq2XML Microsoft Dynamics CRM Plugin Microsoft Dynamics CRM SDK NHibernate OData ORM QueryObject QueryOver Reflection Repository Pattern ReST Routing runtime Serialization SOAP Specification SQLServer Strings unit UnitOfWork URL WCF WCF Data Services Web.config WebServices wsdl XML XML-DDL XML-DML XPath
By Hugo Vieira, with  Admired Theme