Source/NFX/RelationalModel/RDBMSCompiler.cs
/// <summary>
/// Override to read primary key definition form sub-section of table (not column level)
/// </summary>
Override to read primary key definition form sub-section of table (not column level)
Override to read primary key definition form sub - section of table ( not column level )
protected virtual void DoReadIndexSection(IConfigSectionNode idxNode, RDBMSEntity table)
            {
                var idxName = idxNode.Value;
                if (idxName.IsNullOrWhiteSpace())
                {
                    m_CompileErrors.Add(new SchemaCompilationException(idxNode.RootPath,
                                               "Table '{0}' declares an index without a name '{1}'".Args(table.OriginalName, idxNode.RootPath)));
                    return;
                }
                var idx = new RDBMSEntity(table, idxNode, RDBMSEntityType.Index, idxName);
                TransformEntityName(idx);
            }
protected virtual void DoReadIndexSection ( IConfigSectionNode idxNode , RDBMSEntity table ) { var idxName = idxNode . Value ; if ( idxName . IsNullOrWhiteSpace ( ) ) { m_CompileErrors . Add ( new SchemaCompilationException ( idxNode . RootPath , " " . Args ( table . OriginalName , idxNode . RootPath ) ) ) ; return ; } var idx = new RDBMSEntity ( table , idxNode , RDBMSEntityType . Index , idxName ) ; TransformEntityName ( idx ) ; }
Override to read primary key definition form sub-section of table (not column level)
Override to read primary key definition form sub - section of table ( not column level )
idxNode
IConfigSectionNode
table
RDBMSEntity