/
aprogrammer
/
yessql
Обзор
Документация
Войти
/
aprogrammer
/
yessql
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/YesSql.Abstractions/Storage/DocumentIdentity.cs
25 строк
555 B
Sébastien Ros
Support long ints (#458)
30 сен 2022, 02:55
Не верифицирован
30 сен 2022, 02:55
b2f85e8
Код
Авторство
О чём код?
using System; namespace YesSql.Storage { public class DocumentIdentity : IIdentityEntity { public DocumentIdentity(long id, object entity) { Id = id; Entity = entity; EntityType = entity.GetType(); } public DocumentIdentity(long id, Type type) { Id = id; Entity = null; EntityType = type; } public long Id { get; set; } public object Entity { get; set; } public Type EntityType { get; set; } } }