Show / Hide Table of Contents

Class NavigationDatabaseAccess

Handles the navigation relations between a type and other child types.

Inheritance
System.Object
NavigationDatabaseAccess
Implements
INavigationDatabaseAccess
IDisposable
Namespace: Paradigm.ORM.Data.DatabaseAccess
Assembly: Paradigm.ORM.Data.dll
Syntax
public class NavigationDatabaseAccess : object, INavigationDatabaseAccess, IDisposable

Properties

| Improve this Doc View Source

DatabaseAccess

Gets the end database access in the navigation relationships.

Declaration
public IDatabaseAccess DatabaseAccess { get; }
Property Value
Type Description
IDatabaseAccess
| Improve this Doc View Source

NavigationPropertyDescriptor

Gets the navigation property descriptor.

Declaration
public INavigationPropertyDescriptor NavigationPropertyDescriptor { get; }
Property Value
Type Description
INavigationPropertyDescriptor

Methods

| Improve this Doc View Source

DeleteAfter(IEnumerable<Object>)

Deletes the child entities of the specified entities.

Declaration
public void DeleteAfter(IEnumerable<object> entities)
Parameters
Type Name Description
IEnumerable<System.Object> entities

List of parent entities.

| Improve this Doc View Source

DeleteAfterAsync(IEnumerable<Object>)

Deletes the child entities of the specified entities.

Declaration
public Task DeleteAfterAsync(IEnumerable<object> entities)
Parameters
Type Name Description
IEnumerable<System.Object> entities

List of parent entities.

Returns
Type Description
Task
| Improve this Doc View Source

DeleteBefore(IEnumerable<Object>)

Deletes one to one relation entities of the specified entities.

Declaration
public void DeleteBefore(IEnumerable<object> entities)
Parameters
Type Name Description
IEnumerable<System.Object> entities

List of parent entities.

| Improve this Doc View Source

DeleteBeforeAsync(IEnumerable<Object>)

Deletes one to one relation entities of the specified entities.

Declaration
public Task DeleteBeforeAsync(IEnumerable<object> entities)
Parameters
Type Name Description
IEnumerable<System.Object> entities

List of parent entities.

Returns
Type Description
Task
| Improve this Doc View Source

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Declaration
public void Dispose()
| Improve this Doc View Source

Initialize()

Initializes the navigation database access.

Declaration
public void Initialize()
| Improve this Doc View Source

SaveAfter(IEnumerable<Object>)

Saves the child entities of the specified entities.

Declaration
public void SaveAfter(IEnumerable<object> entities)
Parameters
Type Name Description
IEnumerable<System.Object> entities

List of parent entities.

| Improve this Doc View Source

SaveAfterAsync(IEnumerable<Object>)

Saves the child entities of the specified entities.

Declaration
public Task SaveAfterAsync(IEnumerable<object> entities)
Parameters
Type Name Description
IEnumerable<System.Object> entities

List of parent entities.

Returns
Type Description
Task
| Improve this Doc View Source

SaveBefore(IEnumerable<Object>)

Saves one to one related entities.

Declaration
public void SaveBefore(IEnumerable<object> entities)
Parameters
Type Name Description
IEnumerable<System.Object> entities

List of parent entities.

| Improve this Doc View Source

SaveBeforeAsync(IEnumerable<Object>)

Saves one to one related entities.

Declaration
public Task SaveBeforeAsync(IEnumerable<object> entities)
Parameters
Type Name Description
IEnumerable<System.Object> entities

List of parent entities.

Returns
Type Description
Task
| Improve this Doc View Source

Select(IEnumerable<Object>)

Selects the child entities of the specified entities.

Declaration
public void Select(IEnumerable<object> entities)
Parameters
Type Name Description
IEnumerable<System.Object> entities

List of parent entities.

| Improve this Doc View Source

SelectAsync(IEnumerable<Object>)

Selects the child entities of the specified entities.

Declaration
public Task SelectAsync(IEnumerable<object> entities)
Parameters
Type Name Description
IEnumerable<System.Object> entities

List of parent entities.

Returns
Type Description
Task

Implements

INavigationDatabaseAccess
IDisposable

Extension Methods

ObjectExtensions.ThrowIfFails<TException>(Object, Action, String)
ObjectExtensions.ThrowIfFails<TException, TResult>(Object, Func<TResult>, String)
ObjectExtensions.ThrowIfFailsAsync<TException>(Object, Func<Task>, String)
ObjectExtensions.ThrowIfFailsAsync<TException, TResult>(Object, Func<Task<TResult>>, String)

See Also

INavigationDatabaseAccess
  • Improve this Doc
  • View Source
Powered by MiracleDevs ©2017. Code licensed under the MIT License.
Documentation generated by DocFX.