12 lines
258 B
C#
12 lines
258 B
C#
using Generators;
|
|
|
|
namespace InfraGens.Sample;
|
|
|
|
// This code will not compile until you build the project with the Source Generators
|
|
|
|
[Report]
|
|
public partial class SampleEntity
|
|
{
|
|
public int Id { get; } = 42;
|
|
public string? Name { get; } = "Sample";
|
|
} |