view Source/Mapping/Fluent/Attributes.cs @ 9:1e85f66cf767 default tip

update bltoolkit
author nickolay
date Thu, 05 Apr 2018 20:53:26 +0300
parents f990fcb411a9
children
line wrap: on
line source

namespace BLToolkit.Mapping.Fluent
{
    /// <summary>
    /// Used Attribute Names
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public partial class FluentMap<T>
    {
        protected static class Attributes
        {
            public static class TableName
            {
                public const string Name = "TableName";

                public const string Database = "DatabaseName";

                public const string Owner = "OwnerName";
            }

            public static class MapField
            {
                public const string Name = "MapField";

                public const string Storage = "FieldStorage";

                public const string IsInheritanceDiscriminator = "IsInheritanceDiscriminator";

                public const string OrigName = "OrigName";

                public const string MapName = "MapName";
            }

            public static class PrimaryKey
            {
                public const string Order = "PrimaryKey";
            }

            public static class SqlIgnore
            {
                public const string Ignore = "SqlIgnore";
            }

            public static class MapIgnore
            {
                public const string Ignore = "MapIgnore";
            }

            public static class MapValue
            {
                public const string Name = "MapValue";

                public const string OrigValue = "OrigValue";
            }

            public static class Nullable
            {
                public const string IsNullable = "Nullable";
            }

            public static class LazyInstance
            {
                public const string IsLazyInstance = "LazyInstance";
            }

            public static class InheritanceMapping
            {
                public const string Name = "InheritanceMapping";

                public const string Code = "Code";

                public const string IsDefault = "IsDefault";

                public const string Type = "Type";
            }

            public static class Association
            {
                public const string ThisKey = "ThisKey";

                public const string OtherKey = "OtherKey";

                public const string Storage = "Storage";
            }

            public const string NonUpdatable = "NonUpdatable";

            public const string Identity = "Identity";

            public const string Trimmable = "Trimmable";

            public const string DefaultValue = "DefaultValue";

            public const string DbType = "DbType";

            public static class MemberMapper
            {
                public const string Name = "MemberMapper";

                public const string MemberType = "MemberType";

                public const string MemberMapperType = "MemberMapperType";
            }

            public const string NullValue = "NullValue";
        }
    }
}