Skip to content

Commit

Permalink
Initial sample for stored procedure mapping in EF7
Browse files Browse the repository at this point in the history
Further work blocked by dotnet/efcore#28803 and dotnet/efcore#28805
  • Loading branch information
ajcvickers committed Aug 20, 2022
1 parent 9abe33c commit 24ae2f5
Show file tree
Hide file tree
Showing 6 changed files with 1,213 additions and 26 deletions.
10 changes: 5 additions & 5 deletions samples/core/Miscellaneous/NewInEFCore7/BlogsContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public Author(string name)
public class ContactDetails
{
public Address Address { get; init; } = null!;
public string? Phone { get; init; }
public string? Phone { get; set; }
}

public class Address
Expand All @@ -83,10 +83,10 @@ public Address(string street, string city, string postcode, string country)
Country = country;
}

public string Street { get; init; }
public string City { get; init; }
public string Postcode { get; init; }
public string Country { get; init; }
public string Street { get; set; }
public string City { get; set; }
public string Postcode { get; set; }
public string Country { get; set; }
}
#endregion

Expand Down
Loading

0 comments on commit 24ae2f5

Please sign in to comment.