GeneralUtils Class |
Namespace: SD.LLBLGen.Pro.ORMSupportClasses
The GeneralUtils type exposes the following members.
Name | Description | |
---|---|---|
CalculateRowSkipTake |
Calculates the row skip / take values from the 3 values from the pre-v4 api.
| |
CheckIfInputIsValidT |
Checks if the input is valid.
| |
ConvertValueToRealNullIfRequired |
Converts the value passed in to null/Nothing (reference type) or default value (value type) if the value is DbNull.Value, based on the type passed
in, also if that type is a nullable type.
| |
CreateClassicValueReaderForProjections |
Creates the classic value reader for projections. The expression returned is projectionRowParameter[indexValueObtainer].
| |
CreateDataRelations |
Creates the data relations in the dataset passed in for the relations passed in. Only create relations where the start entity is the FK side.
| |
CreateTypedDataTableColumn |
Creates a typed data table column. Used in typed lists and typed views. Adds the column to the columns collection specified.
| |
CreateUsableBucketClone |
Creates the usable bucket clone.
| |
CreateUsablePredicateExpressionClone |
Creates the usable predicate expression clone.
| |
CreateUsableRelationCollectionClone |
Creates a usable relation collection clone.
| |
DetermineDefaultNullValueForType |
Determines the type of the default null value for.
| |
IsNullableType |
Determines whether type passed in is a Nullable(Of T) type.
| |
ProduceEmptyDataSet |
Produces an empty DataSet, with for every element specified in the specified prefetch path a DataTable. It adds PK constraints and
DataRelations to each datatable added. The datatables have the name of the entity: per entity type found there's 1 table.
| |
ProduceEmptyDataTable(Int32, IElementCreatorCore) |
Produces an empty data table for the entity type specified
| |
ProduceEmptyDataTable(IEntityFactoryCore, IElementCreatorCore) |
Produces an empty data table for the entity type with the factory specified
|