Working with Types

[ ]

LINQ Reporting Engine enables you to use external visible types in template expressions. A visible type is a public type which outer types (if any) are public as well. You can use a data source object of any visible type to pass it to the engine.

However, you can use the identifier of a visible type in template expressions only if the following additional requirements are met:

  • The type is not void.
  • The type does not represent an array.
  • The type identifier does not contain generic type arguments.

Also, the engine enables you to use anonymous types in template expressions. Such types are useful while composing expressions with grouping by multiple keys. See “Appendix A. Enumeration Extension Methods” for the examples.