diff --git a/docs/demo/src/WTA.Shared/Attributes/OneToManyAttribute.cs b/docs/demo/src/WTA.Shared/Attributes/OneToManyAttribute.cs new file mode 100644 index 00000000..5197be21 --- /dev/null +++ b/docs/demo/src/WTA.Shared/Attributes/OneToManyAttribute.cs @@ -0,0 +1,11 @@ +namespace WTA.Shared.Attributes; + +public class OneToManyAttribute +{ + public Type Type { get; set; } = null; + public OneToManyAttribute(string property) + { + this.Type=typeof(TEntity); + this.Property=Property; + } +}