Class WellKnownTypes
This class contains pre-parsed IType definitions and member references for well-known system and Linq To DB types, used during code generation.
public static class WellKnownTypes
- Inheritance
-
WellKnownTypes
Methods
PropertyOrField<TObject, TProperty>(Expression<Func<TObject, TProperty>>, bool)
public static CodeReference PropertyOrField<TObject, TProperty>(Expression<Func<TObject, TProperty>> accessor, bool forceNullable)
Parameters
accessor
Expression<Func<TObject, TProperty>>forceNullable
bool
Returns
Type Parameters
TObject
TProperty