예제 #1
0
 protected virtual InternalRelationshipBuilder WithOneBuilder([CanBeNull] PropertyInfo navigationProperty)
 => WithOneBuilder(PropertyIdentity.Create(navigationProperty));
예제 #2
0
 /// <summary>
 ///     This API supports the Entity Framework Core infrastructure and is not intended to be used
 ///     directly from your code. This API may change or be removed in future releases.
 /// </summary>
 protected virtual InternalRelationshipBuilder HasOneBuilder(
     [NotNull] EntityType relatedEntityType, [CanBeNull] PropertyInfo navigationProperty)
 => HasOneBuilder(relatedEntityType, PropertyIdentity.Create(navigationProperty));
예제 #3
0
 protected virtual InternalRelationshipBuilder WithOneBuilder([CanBeNull] string navigationName)
 => WithOneBuilder(PropertyIdentity.Create(navigationName));