StructuralType.AddMember asserts when members from a non matching space are added:
```
var property = EdmProperty.Primitive("Id", PrimitiveType.GetEdmPrimitiveType(PrimitiveTypeKind.Int32));
var entityType = EntityType.Create("EntityType", "MyModel", DataSpace.SSpace, new[] {"Id"}, new[] {property}, null);
```
Causes an assert: Wrong member type getting added in structural type.
Expected result - exception.
I believe this is one of the APIs we made public in EF6 it would be good to scan through all MetadataWorkspace APIs that were made public in EF6 to make sure we have enough validation for passed values.
```
var property = EdmProperty.Primitive("Id", PrimitiveType.GetEdmPrimitiveType(PrimitiveTypeKind.Int32));
var entityType = EntityType.Create("EntityType", "MyModel", DataSpace.SSpace, new[] {"Id"}, new[] {property}, null);
```
Causes an assert: Wrong member type getting added in structural type.
Expected result - exception.
I believe this is one of the APIs we made public in EF6 it would be good to scan through all MetadataWorkspace APIs that were made public in EF6 to make sure we have enough validation for passed values.