We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
var list = session.CreateCriteria(typeof(Pipe)) .SetProjection(Projections.ProjectionList() .Add(Projections.Property("Number"), "Number") .Add(Projections.Property("Id"), "Id") .Add(Projections.Property("Status"), "Status") .Add(Projections.Property("Type"), "Type")) .SetResultTransformer(Transformers.AliasToBean(typeof(Pipe))) .List<Pipe>();