Innovt Platform
Search Results for

    Show / Hide Table of Contents

    Class DynamoContext

    This class is responsible for managing the context of the DynamoDB for Code First strategy.

    Inheritance
    object
    DynamoContext
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Innovt.Cloud.AWS.Dynamo
    Assembly: Innovt.Cloud.AWS.Dynamo.dll
    Syntax
    public abstract class DynamoContext

    Constructors

    | Edit this page View Source

    DynamoContext()

    Declaration
    protected DynamoContext()

    Properties

    | Edit this page View Source

    IgnoreNullValues

    It tells the context to ignore null properties when saving an entity.

    Declaration
    public bool IgnoreNullValues { get; set; }
    Property Value
    Type Description
    bool

    Methods

    | Edit this page View Source

    GetEntityBuilder(string)

    Declaration
    public EntityTypeBuilder GetEntityBuilder(string name)
    Parameters
    Type Name Description
    string name
    Returns
    Type Description
    EntityTypeBuilder
    | Edit this page View Source

    GetEntityBuilder<T>()

    Declaration
    public EntityTypeBuilder GetEntityBuilder<T>()
    Returns
    Type Description
    EntityTypeBuilder
    Type Parameters
    Name Description
    T
    | Edit this page View Source

    GetPropertyConverter(Type)

    Declaration
    public IPropertyConverter GetPropertyConverter(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    IPropertyConverter
    | Edit this page View Source

    HasTypeBuilder(string)

    Check if the entity has a builder.

    Declaration
    public bool HasTypeBuilder(string entityName)
    Parameters
    Type Name Description
    string entityName

    The name of the typebuilder

    Returns
    Type Description
    bool
    | Edit this page View Source

    HasTypeBuilder(Type)

    Declaration
    public bool HasTypeBuilder(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    bool
    | Edit this page View Source

    HasTypeBuilder<T>(object)

    Utility method to add a new entity to the context

    Declaration
    public bool HasTypeBuilder<T>(object instance = null)
    Parameters
    Type Name Description
    object instance
    Returns
    Type Description
    bool
    Type Parameters
    Name Description
    T
    | Edit this page View Source

    OnModelCreating(ModelBuilder)

    Declaration
    protected abstract void OnModelCreating(ModelBuilder modelBuilder)
    Parameters
    Type Name Description
    ModelBuilder modelBuilder
    | Edit this page View Source

    SetCulture(CultureInfo)

    Set the culture that will be used to convert the properties.

    Declaration
    public bool SetCulture(CultureInfo cultureInfo)
    Parameters
    Type Name Description
    CultureInfo cultureInfo
    Returns
    Type Description
    bool

    Extension Methods

    Extensions.IsNull(object)
    Extensions.ToStringOrDefault(object)
    SimpleMapper.MapTo<T1>(object)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX