void AddUniqueKey(String uniqueKeyName, bool inSecondPass) { IndexOrUniqueKeySecondPass secondPass = new IndexOrUniqueKeySecondPass(uniqueKeyName, this, mappings, true); if (inSecondPass) { secondPass.DoSecondPass(mappings.Classes); } else { mappings.AddSecondPass(secondPass); } }
void AddIndex(String indexName, bool inSecondPass) { IndexOrUniqueKeySecondPass secondPass = new IndexOrUniqueKeySecondPass(indexName, this, mappings, false); if (inSecondPass) { secondPass.DoSecondPass(mappings.Classes); } else { mappings.AddSecondPass(secondPass); } }
public void AddSecondPass(IndexOrUniqueKeySecondPass secondPass) { }