DmViewFactory ​
Namespace: MJCZone.DapperMatic.Models
Assembly: MJCZone.DapperMatic
Summary ​
Factory class for creating and caching instances of MJCZone.DapperMatic.Models.DmView
.
static
public
Contents ​
Methods (5)
Methods ​
GetView ​
Returns an instance of a MJCZone.DapperMatic.Models.DmView
for the given type. If the type is not a valid MJCZone.DapperMatic.Models.DmView
, denoted by the use of a MJCZone.DapperMatic.DataAnnotations.DmViewAttribute
on the class, this method returns null.
csharp
DmView? GetView(Type type)
Parameters ​
- type (Type) - .
Returns ​
Type: DmView?
An instance of if the type is valid; otherwise, null.
GetType ​
csharp
void GetType()
ToString ​
csharp
void ToString()
Equals ​
csharp
void Equals()
GetHashCode ​
csharp
void GetHashCode()