没有 KeyFactory 的不完整密钥?
Incomplete keys without a KeyFactory?
Google 的示例 show a way to create a key,无需 KeyFactory。有没有类似的方法可以在没有 KeyFactory 的情况下创建不完整的密钥?
不使用密钥工厂创建不完整密钥的方法:
new Key().WithElement(new Key.Types.PathElement { Kind = "your entity kind" });
Google 的示例 show a way to create a key,无需 KeyFactory。有没有类似的方法可以在没有 KeyFactory 的情况下创建不完整的密钥?
不使用密钥工厂创建不完整密钥的方法:
new Key().WithElement(new Key.Types.PathElement { Kind = "your entity kind" });