When you put a Property attribute on a partial property, it will be generated correctly:
[Property]
public partial string? FristName { get; set; }
But when you forget the partial keyword, nothing will be generated, which is correct too:
[Property]
public string? FristName { get; set; }
But in the latter case, there should be a compiler error that tells a developer that the Property attribute can only be set on either a field or a partial property, but not on a regular property like the auto property above
When you put a Property attribute on a partial property, it will be generated correctly:
But when you forget the partial keyword, nothing will be generated, which is correct too:
But in the latter case, there should be a compiler error that tells a developer that the Property attribute can only be set on either a field or a partial property, but not on a regular property like the auto property above