Amazon.DynamoDBv2.DocumentModel.Table.GetType C# (CSharp) 메소드

GetType() 개인적인 정적인 메소드

private static GetType ( string attributeType ) : DynamoDBEntryType
attributeType string
리턴 DynamoDBEntryType
        private static DynamoDBEntryType GetType(string attributeType)
        {
            if (String.Equals(attributeType, "N"))
                return DynamoDBEntryType.Numeric;
            if (String.Equals(attributeType, "S"))
                return DynamoDBEntryType.String;
            if (String.Equals(attributeType, "B"))
                return DynamoDBEntryType.Binary;
            throw new InvalidOperationException("Unknown attribute type");
        }