Class CBO
Assembly: DotNetNuke.dll
Syntax
public class CBO : ServiceLocator<ICBO, CBO>, ICBO
Constructors
CBO()
Declaration
Methods
CloneObject(object)
Declaration
public static object CloneObject(object objObject)
Parameters
Type |
Name |
Description |
object |
objObject |
|
Returns
CloseDataReader(IDataReader, bool)
Declaration
public static void CloseDataReader(IDataReader dr, bool closeReader)
Parameters
CreateObject<TObject>(bool)
Declaration
public static TObject CreateObject<TObject>(bool initialise)
Parameters
Type |
Name |
Description |
bool |
initialise |
|
Returns
Type Parameters
DeserializeObject<TObject>(Stream)
Declaration
public static TObject DeserializeObject<TObject>(Stream stream)
Parameters
Type |
Name |
Description |
Stream |
stream |
|
Returns
Type Parameters
DeserializeObject<TObject>(TextReader)
Declaration
public static TObject DeserializeObject<TObject>(TextReader reader)
Parameters
Returns
Type Parameters
DeserializeObject<TObject>(string)
Declaration
public static TObject DeserializeObject<TObject>(string fileName)
Parameters
Type |
Name |
Description |
string |
fileName |
|
Returns
Type Parameters
DeserializeObject<TObject>(XmlDocument)
Declaration
public static TObject DeserializeObject<TObject>(XmlDocument document)
Parameters
Returns
Type Parameters
DeserializeObject<TObject>(XmlReader)
Declaration
public static TObject DeserializeObject<TObject>(XmlReader reader)
Parameters
Returns
Type Parameters
DeserializeSettings(IDictionary, XmlNode, string)
Declaration
public static void DeserializeSettings(IDictionary dictionary, XmlNode rootNode, string elementName)
Parameters
FillCollection(IDataReader, Type)
Declaration
public static ArrayList FillCollection(IDataReader dr, Type objType)
Parameters
Returns
FillCollection(IDataReader, Type, bool)
Declaration
public static ArrayList FillCollection(IDataReader dr, Type objType, bool closeReader)
Parameters
Returns
FillCollection(IDataReader, Type, ref IList)
Declaration
public static IList FillCollection(IDataReader dr, Type objType, ref IList objToFill)
Parameters
Returns
FillCollection(IDataReader, ref Type, ref int)
Declaration
public static ArrayList FillCollection(IDataReader dr, ref Type objType, ref int totalRecords)
Parameters
Returns
FillCollection<TItem>(IDataReader)
Declaration
public static List<TItem> FillCollection<TItem>(IDataReader dr)
Parameters
Returns
Type |
Description |
List<TItem> |
|
Type Parameters
FillCollection<TItem>(IDataReader, IList<TItem>, bool)
Declaration
public static IList<TItem> FillCollection<TItem>(IDataReader dr, IList<TItem> objToFill, bool closeReader)
Parameters
Returns
Type |
Description |
IList<TItem> |
|
Type Parameters
FillCollection<TItem>(IDataReader, ref IList<TItem>)
Declaration
public static IList<TItem> FillCollection<TItem>(IDataReader dr, ref IList<TItem> objToFill)
Parameters
Returns
Type |
Description |
IList<TItem> |
|
Type Parameters
FillCollection<T>(IDataReader, ref int)
Declaration
public static List<T> FillCollection<T>(IDataReader dr, ref int totalRecords)
Parameters
Returns
Type Parameters
FillDictionary<TKey, TValue>(string, IDataReader)
Declaration
public static Dictionary<TKey, TValue> FillDictionary<TKey, TValue>(string keyField, IDataReader dr)
Parameters
Returns
Type Parameters
Name |
Description |
TKey |
|
TValue |
|
FillDictionary<TKey, TValue>(string, IDataReader, bool)
Declaration
public static Dictionary<TKey, TValue> FillDictionary<TKey, TValue>(string keyField, IDataReader dr, bool closeReader)
Parameters
Returns
Type Parameters
Name |
Description |
TKey |
|
TValue |
|
FillDictionary<TKey, TValue>(string, IDataReader, IDictionary<TKey, TValue>)
Declaration
public static Dictionary<TKey, TValue> FillDictionary<TKey, TValue>(string keyField, IDataReader dr, IDictionary<TKey, TValue> objDictionary)
Parameters
Returns
Type Parameters
Name |
Description |
TKey |
|
TValue |
|
FillObject<TObject>(IDataReader)
Declaration
public static TObject FillObject<TObject>(IDataReader dr)
Parameters
Returns
Type Parameters
FillObject<TObject>(IDataReader, bool)
Declaration
public static TObject FillObject<TObject>(IDataReader dr, bool closeReader)
Parameters
Returns
Type Parameters
FillQueryable<TItem>(IDataReader)
Declaration
public static IQueryable<TItem> FillQueryable<TItem>(IDataReader dr)
Parameters
Returns
Type Parameters
FillSortedList<TKey, TValue>(string, IDataReader)
Declaration
public static SortedList<TKey, TValue> FillSortedList<TKey, TValue>(string keyField, IDataReader dr)
Parameters
Returns
Type Parameters
Name |
Description |
TKey |
|
TValue |
|
GetCachedObject<TObject>(CacheItemArgs, CacheItemExpiredCallback)
Declaration
public static TObject GetCachedObject<TObject>(CacheItemArgs cacheItemArgs, CacheItemExpiredCallback cacheItemExpired)
Parameters
Returns
Type Parameters
GetCachedObject<TObject>(CacheItemArgs, CacheItemExpiredCallback, bool)
Declaration
public static TObject GetCachedObject<TObject>(CacheItemArgs cacheItemArgs, CacheItemExpiredCallback cacheItemExpired, bool saveInDictionary)
Parameters
Returns
Type Parameters
GetFactory()
Declaration
protected override Func<ICBO> GetFactory()
Returns
Overrides
GetProperties(Type)
Declaration
public static Dictionary<string, PropertyInfo> GetProperties(Type objType)
Parameters
Type |
Name |
Description |
Type |
objType |
|
Returns
GetProperties<TObject>()
Declaration
public static Dictionary<string, PropertyInfo> GetProperties<TObject>()
Returns
Type Parameters
InitializeObject(object)
Declaration
public static void InitializeObject(object objObject)
Parameters
Type |
Name |
Description |
object |
objObject |
|
InitializeObject(object, Type)
Declaration
public static object InitializeObject(object objObject, Type objType)
Parameters
Type |
Name |
Description |
object |
objObject |
|
Type |
objType |
|
Returns
SerializeObject(object, Stream)
Declaration
public static void SerializeObject(object objObject, Stream stream)
Parameters
SerializeObject(object, TextWriter)
Declaration
public static void SerializeObject(object objObject, TextWriter textWriter)
Parameters
SerializeObject(object, string)
Declaration
public static void SerializeObject(object objObject, string fileName)
Parameters
SerializeObject(object, XmlDocument)
Declaration
public static void SerializeObject(object objObject, XmlDocument document)
Parameters
SerializeObject(object, XmlWriter)
Declaration
public static void SerializeObject(object objObject, XmlWriter writer)
Parameters
SerializeSettings(IDictionary, XmlDocument, string, string)
Declaration
public static void SerializeSettings(IDictionary dictionary, XmlDocument document, string targetPath, string elementName)
Parameters
Implements
Extension Methods