public void Setup() { var mappingSet = ModelSetup.SetupModel(); database = mappingSet.Database; table = database.Tables[0]; index = new Index("index1"); table.AddIndex(index); }