public string CreateDatabaseStructure(IConceptInfo conceptInfo)
        {
            var info = (DatePropertyInfo)conceptInfo;

            PropertyDatabaseDefinition.RegisterColumnMetadata(_conceptMetadata, info, SqlUtility.Identifier(info.Name), Sql.Get("DatePropertyDatabaseDefinition_DataType"));
            if (info.DataStructure is EntityInfo)
            {
                return(PropertyDatabaseDefinition.AddColumn(_conceptMetadata, info));
            }

            return("");
        }
        public string CreateDatabaseStructure(IConceptInfo conceptInfo)
        {
            var info = (ReferencePropertyInfo)conceptInfo;

            PropertyDatabaseDefinition.RegisterColumnMetadata(_conceptMetadata, info, info.GetColumnName(), Sql.Get("ReferencePropertyDatabaseDefinition_DataType"));
            if (IsSupported(info))
            {
                return(PropertyDatabaseDefinition.AddColumn(_conceptMetadata, info));
            }

            return("");
        }
        public string CreateDatabaseStructure(IConceptInfo conceptInfo)
        {
            var info = (MoneyPropertyInfo)conceptInfo;

            SqlUtility.Identifier(info.Name);

            PropertyDatabaseDefinition.RegisterColumnMetadata(_conceptMetadata, info, SqlUtility.Identifier(info.Name), Sql.Get("MoneyPropertyDatabaseDefinition_DataType"));
            if (info.DataStructure is EntityInfo)
            {
                return(PropertyDatabaseDefinition.AddColumn(_conceptMetadata, info,
                                                            Sql.Format("MoneyPropertyDatabaseDefinition_CreateCheckConstraint", ConstraintName(info), SqlUtility.Identifier(info.Name))));
            }
            return("");
        }