The PetaPocoDataContext type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| PetaPocoDataContext()()()() | DotNetNuke.Data.PetaPoco.PetaPocoDataContext | |
| PetaPocoDataContext(String) | DotNetNuke.Data.PetaPoco.PetaPocoDataContext | |
| PetaPocoDataContext(String, String) | DotNetNuke.Data.PetaPoco.PetaPocoDataContext | |
| PetaPocoDataContext(String, String, Dictionary<(Of <<'(Type, IMapper>)>>)) | DotNetNuke.Data.PetaPoco.PetaPocoDataContext |
Methods
| Name | Description | |
|---|---|---|
| BeginTransaction | ||
| Commit | ||
| Dispose | DotNetNuke.Data.PetaPoco.PetaPocoDataContext | |
| Equals | (Inherited from Object.) | |
| Execute | ||
| ExecuteQuery<(Of <<'(T>)>>) | ||
| ExecuteScalar<(Of <<'(T>)>>) | ||
| ExecuteSingleOrDefault<(Of <<'(T>)>>) | ||
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetRepository<(Of <<'(T>)>>) | ||
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| RollbackTransaction | ||
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
| Name | Description | |
|---|---|---|
| AddFluentMapper<(Of <<'(TModel>)>>) | (Defined by FluentMapperExtensions.) | |
| ToJson |
Extension method on object that serializes the value to Json.
Note the type must be marked Serializable or include a DataContract attribute.
(Defined by JsonExtensionsWeb.) |
Properties
| Name | Description | |
|---|---|---|
| EnableAutoSelect | ||
| FluentMappers | ||
| TablePrefix |