Class Database.PocoData
Inheritance
System.Object
Namespace:System.Dynamic.ExpandoObject
Assembly:Umbraco.Core.dll
Syntax
Constructors
PocoData()
Declaration
PocoData(Type)
Declaration
Parameters
Type |
Name |
Description |
System.Type |
t |
|
Fields
type
Declaration
Field Value
Type |
Description |
System.Type |
|
Properties
Columns
Declaration
public Dictionary<string, Database.PocoColumn> Columns { get; }
Property Value
QueryColumns
Declaration
public string[] QueryColumns { get; }
Property Value
Type |
Description |
System.String[] |
|
TableInfo
Declaration
public TableInfo TableInfo { get; }
Property Value
Methods
ForObject(Object, String)
Declaration
public static Database.PocoData ForObject(object o, string primaryKeyName)
Parameters
Type |
Name |
Description |
System.Object |
o |
|
System.String |
primaryKeyName |
|
Returns
ForType(Type)
Declaration
public static Database.PocoData ForType(Type t)
Parameters
Type |
Name |
Description |
System.Type |
t |
|
Returns
GetFactory(String, String, Boolean, Int32, Int32, IDataReader)
Declaration
public Delegate GetFactory(string sql, string connString, bool ForceDateTimesToUtc, int firstColumn, int countColumns, IDataReader r)
Parameters
Type |
Name |
Description |
System.String |
sql |
|
System.String |
connString |
|
System.Boolean |
ForceDateTimesToUtc |
|
System.Int32 |
firstColumn |
|
System.Int32 |
countColumns |
|
System.Data.IDataReader |
r |
|
Returns
Type |
Description |
System.Delegate |
|
PrintDebugCacheReport(out Double, out IEnumerable<String>)
Returns a report of the current cache being utilized by PetaPoco
Declaration
public static string PrintDebugCacheReport(out double totalBytes, out IEnumerable<string> allKeys)
Parameters
Type |
Name |
Description |
System.Double |
totalBytes |
|
System.Collections.Generic.IEnumerable<System.String> |
allKeys |
|
Returns
Type |
Description |
System.String |
|