/// <summary> /// Gets the runtime empty data type for the given data type descriptor. /// </summary> /// <param name="dataTypeDescriptor"></param> /// <returns></returns> public static Type GetDataTypeEmptyClass(DataTypeDescriptor dataTypeDescriptor) { return(EmptyDataClassTypeManager.GetEmptyDataClassType(dataTypeDescriptor, false)); }
/// <summary> /// Gets the runtime empty data type for the given data type. /// </summary> /// <param name="dataType"></param> /// <param name="forceReCompilation"> /// If this is true a new empty class will be /// compiled at runtime regardless if it exists or not. /// Use with caution! /// </param> /// <returns></returns> public static Type GetDataTypeEmptyClass(Type dataType, bool forceReCompilation = false) { return(EmptyDataClassTypeManager.GetEmptyDataClassType(dataType, forceReCompilation)); }