示例#1
0
        protected override void UpdateItem(T entity)
        {
            string id;

            GetPrimaryKey(entity, out id);

            Client.UpdateDocument(entity, id);
        }
示例#2
0
        protected override void UpdateItem(T entity)
        {
            GetPrimaryKey(entity, out TKey id);

            Client.UpdateDocument(entity, id.ToString());
        }