Class DynamicDataRow

This class provides an easy way to turn a DataRow into a Dynamic object that supports direct property access to the DataRow fields.

The class also automatically fixes up DbNull values (null into .NET and DbNUll to DataRow)

public class DynamicDataRow : DynamicObject

Class Members



Pass in a DataRow to work off


Returns a value from a DataRow items array. If the field doesn't exist null is returned. DbNull values are turned into .NET nulls.

public virtual bool TryGetMember(GetMemberBinder binder,     ref object result)


Property setter implementation tries to retrieve value from instance first then into this object

public virtual bool TrySetMember(SetMemberBinder binder,     object value)


Namespace: Westwind.Utilities.Data
Assembly: westwind.utilities.dll

© West Wind Technologies, 2019 • Updated: 06/23/19
Comment or report problem with topic