Click or drag to resize

ObjectShredderT Class

Utility class to convert a sequence of objects of type T into a DataTable (one column per public field or property)
Inheritance Hierarchy
SystemObject
  Seal.HelpersObjectShredderT

Namespace: Seal.Helpers
Assembly: SealLibrary (in SealLibrary.dll) Version: 10.0.1.0+a44cd3a7f03c2bf3cdbd971a878c679e40bed08a
Syntax
C#
public class ObjectShredder<T>

Type Parameters

T

The ObjectShredderT type exposes the following members.

Constructors
 NameDescription
Public methodObjectShredderT Constructor: initializes the field, property and ordinal maps from the type T
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodExtendTable Extend the table schema with columns for the public fields and properties of the given type
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodShred Loads a DataTable from a sequence of objects.
Public methodShredObject Returns an array of the field and property values of an instance, ordered by the table columns
Public methodShredPrimitive Loads a DataTable from a sequence of primitive values (a single 'Value' column)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also