protected Association <TEntity> Associate <TProperty>( Expression <Func <TEntity, TProperty> > association) { return(new Association <TEntity>() { AssociationProperty = MetadataUtility.PropName(association) }); }
protected PropertyService <TEntity> Property <TProp>(Expression <Func <TEntity, TProp> > prop) { var property = _properties.Find(p => p.Name == MetadataUtility.PropName(prop)); var propertyService = PropertyService <TEntity> .Create(property); return(propertyService); }