This repository has been archived on 2020-06-09. You can view files and clone it, but cannot push or open issues or pull requests.
dotnet-nhibernate-test/ConsoleApp1/Model/Person.cs

13 lines
309 B
C#
Raw Permalink Normal View History

2020-06-08 22:12:01 +00:00
using System;
namespace ConsoleApp1.Model
{
public class Person
{
public virtual Guid Id { get; set; }
public virtual string FirstName { get; set; }
public virtual string LastName { get; set; }
public virtual string GetFullName() => $"{FirstName} {LastName}";
}
}