DataExtensionSetValuesFromModel Method
Object properties are passed to model fields
Data using the annotation attributes of the object properties.
Namespace: Aliquo.CoreAssembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
public static void SetValuesFromModel(
this Data data,
Object obj
)
<ExtensionAttribute>
Public Shared Sub SetValuesFromModel (
data As Data,
obj As Object
)
- data Data
- Data with the data template.
- obj Object
- Object properties.
In Visual Basic and C#, you can call this method as an instance method on any object of type
Data. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).