Show / Hide Table of Contents

Class DataContext

Inheritance
object
DataContext
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.Data
Assembly: DotNetNuke.dll
Syntax
public class DataContext

Constructors

DataContext()

Declaration
public DataContext()

Methods

Instance()

Declaration
public static IDataContext Instance()
Returns
Type Description
IDataContext

Instance(Dictionary<Type, IMapper>)

Declaration
public static IDataContext Instance(Dictionary<Type, IMapper> mappers)
Parameters
Type Name Description
Dictionary<Type, IMapper> mappers
Returns
Type Description
IDataContext

Instance(string)

Declaration
public static IDataContext Instance(string connectionStringName)
Parameters
Type Name Description
string connectionStringName
Returns
Type Description
IDataContext

Instance(string, Dictionary<Type, IMapper>)

Declaration
public static IDataContext Instance(string connectionStringName, Dictionary<Type, IMapper> mappers)
Parameters
Type Name Description
string connectionStringName
Dictionary<Type, IMapper> mappers
Returns
Type Description
IDataContext

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS