Click or drag to resize

GeneralUtils Class

General container class for static utility methods which have no better grouping class.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ORMSupportClassesGeneralUtils

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax
public static class GeneralUtils

The GeneralUtils type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCalculateRowSkipTake
Calculates the row skip / take values from the 3 values from the pre-v4 api.
Public methodStatic memberCheckIfInputIsValidT
Checks if the input is valid.
Public methodStatic memberConvertValueToRealNullIfRequired
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.
Public methodStatic memberCreateClassicValueReaderForProjections
Creates the classic value reader for projections. The expression returned is projectionRowParameter[indexValueObtainer].
Public methodStatic memberCreateDataRelations
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.
Public methodStatic memberCreateTemporalTablePredicateFED
Creates the temporal table predicate from clause directive (FED) from the input elements specified
Public methodStatic memberCreateTypedDataTableColumn
Creates a typed data table column. Used in typed lists and typed views. Adds the column to the columns collection specified.
Public methodStatic memberCreateUsableBucketClone
Creates the usable bucket clone.
Public methodStatic memberCreateUsablePredicateExpressionClone
Creates the usable predicate expression clone.
Public methodStatic memberCreateUsableRelationCollectionClone
Creates a usable relation collection clone.
Public methodStatic memberDetermineDefaultNullValueForType
Determines the type of the default null value for.
Public methodStatic memberIsNullableType
Determines whether type passed in is a Nullable(Of T) type.
Public methodStatic memberProduceEmptyDataSet
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.
Public methodStatic memberProduceEmptyDataTable(Int32, IElementCreatorCore)
Produces an empty data table for the entity type specified
Public methodStatic memberProduceEmptyDataTable(IEntityFactoryCore, IElementCreatorCore)
Produces an empty data table for the entity type with the factory specified
Top
See Also