You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
using System;using System.Collections.Generic;using System.ComponentModel.DataAnnotations;using System.ComponentModel.DataAnnotations.Schema;using Microsoft.EntityFrameworkCore;using Volo.Abp.Auditing;using Volo.Abp.Domain.Entities;using Volo.Abp.Domain.Entities.Auditing;
namespace Shentun.Peis.Books{ [Table("testa")] public class TestA : Entity { [Key] public Guid AId { get; set; }
public string AName { get; set; }
//[ForeignKey("AId")]
//[InverseProperty(nameof(TestB.TestAs))]
public virtual ICollection<TestB> TestBs { get; set; }
public override object[] GetKeys() { return new object[] { AId }; } }}
|