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.
18 lines
316 B
18 lines
316 B
using System;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace MyLibraryEntities
|
|
{
|
|
public class StringEntity
|
|
{
|
|
public string Id { get; set; }
|
|
public string Value { get; set; }
|
|
|
|
[ForeignKey("AuthorId")]
|
|
public AuthorEntity Author { get; set; }
|
|
|
|
public string AuthorId { get; set; }
|
|
}
|
|
}
|
|
|