Browse Source

update

pull/1/head
wanggang 1 year ago
parent
commit
d57ead6ea4
  1. 11
      docs/demo/src/WTA.Shared/Attributes/OneToManyAttribute.cs

11
docs/demo/src/WTA.Shared/Attributes/OneToManyAttribute.cs

@ -0,0 +1,11 @@
namespace WTA.Shared.Attributes;
public class OneToManyAttribute<TEntity>
{
public Type Type { get; set; } = null;
public OneToManyAttribute<TEntity>(string property)
{
this.Type=typeof(TEntity);
this.Property=Property;
}
}
Loading…
Cancel
Save