internal PropertyBuilderBase GetPropertyBuilder(string entityNamespace, string entityName, string propertyName) { PropertyBuilderBase result = null; var entityBuilder = GetEntityBuilder(entityNamespace, entityName); if (entityBuilder != null) { result = entityBuilder.GetPropertyBuilder(propertyName); } return(result); }
internal void CheckReference(PropertyBuilderBase foreignKeyProperty) { // TODO: Validation - referenced property should be primary key or have unique constraint PropertySpecificationBuilder.CheckReference(foreignKeyProperty.PropertySpecificationBuilder); }