wanggang
1 year ago
1 changed files with 11 additions and 0 deletions
@ -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…
Reference in new issue