public void Setup() { var mappingSet = ModelSetup.SetupModel(); database = mappingSet.Database; table = database.Tables[0]; key = table.Keys[0]; }
public void Setup() { var mappingSet = ModelSetup.SetupModel(); database = mappingSet.Database; table = database.Tables[0]; relationship = table.Relationships[0]; reference = relationship.MappedReferences().First(); }
public void Setup() { var mappingSet = ModelSetup.SetupModel(); database = mappingSet.Database; table = database.Tables[0]; index = new Index("index1"); table.AddIndex(index); }
public void Setup() { var mappingSet = ModelSetup.SetupModel(); var entitySet = mappingSet.EntitySet; entity = entitySet.Entities[0]; reference = entity.References[0]; relationship = reference.MappedRelationship(); }
public void Setup() { mappingSet = ModelSetup.SetupModel(); entitySet = mappingSet.EntitySet; db = mappingSet.Database; table1 = db.Tables[0]; table2 = db.Tables[1]; table1.CreateRelationshipTo(table2); }