31 lines
912 B
C#
31 lines
912 B
C#
//using System;
|
|
//using System.Collections.Generic;
|
|
//using System.Linq;
|
|
//using System.Text;
|
|
//using System.Threading.Tasks;
|
|
//using Amazon.DynamoDBv2;
|
|
//using Amazon.DynamoDBv2.Model;
|
|
//using Amazon.DynamoDBv2.DocumentModel;
|
|
//using Newtonsoft.Json;
|
|
//using ServerCore; using ServerBase;
|
|
|
|
//namespace ServerCommon.DB
|
|
//{
|
|
// public class AccountIDEntity
|
|
// {
|
|
// public string PK_Name { get; private set; } = string.Empty;
|
|
// public string SK_Guid { get; private set; } = string.Empty;
|
|
|
|
// public AccountIDEntity(Document document)
|
|
// {
|
|
// ReadFrom(document);
|
|
// }
|
|
|
|
// void ReadFrom(Document document)
|
|
// {
|
|
// PK_Name = document["PK"].AsString().Replace(MainDB.GetPKPrefix(EEntityType.AccountId), "");
|
|
// SK_Guid = document["SK"].AsString().Replace(MainDB.GetSKPrefix(EEntityType.AccountId), "");
|
|
// }
|
|
// }
|
|
//}
|