title: MappingException Edm.String not compatible with SqlServer.varbinary
body: <p>I am having a difficult time resolving a silly mapping problem. Basically what is going on is that I have a field in a sql db table that is a varbinary for the purposes of security (encryption and decryption). All that stuff is all well and good but it seems as though the edmx sees the field in that table as a string which I thought it should see it as given that the data is just a binary string. This is the error message I get.</p>
  
  <pre><code>Schema specified is not valid. Errors:
  
  ReadModel.Model.msl(836,12): error 2019: Member Mapping specified is not valid. The type 
  'Edm.String [Nullable=True,DefaultValue=,MaxLength=256,Unicode=,FixedLength=False]' of 
  member 'field-in-question' in type 'Lib.ReadModel.TableName' is not compatable with
  'SqlServer.varbinary' [Nullable=True,DefaultValue=,MaxLength=256,FixedLength=False]'
  of member 'field-in-question' in type 'Model.Store.TableName'.
  </code></pre>
  
  <p>Has anyone had an issue like this? Maybe there is something I am overlooking? Maybe be able to point me in the right direction? I am having an issue on finding information to resolve the issue and am at a loss. </p>