I have an Oracle database and am using the Devart dotConnect drivers.
The EDMX file has the following type defined:
<EntityType Name="DEAL">
<Key>
<PropertyRef Name="DEAL_ID" />
</Key>
<Property Name="DEAL_ID" Type="int64" Nullable="false" StoreGeneratedPattern="Identity" />
<Property Name="DATE_ENTERED" Type="DATE" Nullable="false" />
<Property Name="CONTACT_OTHER" Type="VARCHAR2" MaxLength="50" /> |
<EntityType Name="Deal">
<Key>
<PropertyRef Name="DealId" />
</Key>
<Property Name="DealId" Type="Int64" Nullable="false" ib:BindableMode="OneWay" ib:DisplayName="Deal Id" />
<Property Name="DateEntered" Type="DateTime" Nullable="false" />
<Property Name="ContactOther" Type="String" /> |
<MappingFragment StoreEntitySet="DEALs">
<ScalarProperty Name="DealId" ColumnName="DEAL_ID" />
<ScalarProperty Name="DateEntered" ColumnName="DATE_ENTERED" />
<ScalarProperty Name="ContactOther" ColumnName="CONTACT_OTHER" /> |
Notice the last field, CONTACT_OTHER has a MaxLength of 50. However, the Object Mapper is not picking it up and a corresponding verifier is not being created:
#region ContactOther
/// <summary>Gets or sets the ContactOther.</summary>
[IbUtil.DBDataType(typeof(String))]
public String ContactOther {
get { return ContactOtherEntityProperty.GetValue(this); }
[global::System.Diagnostics.DebuggerNonUserCode]
set { ContactOtherEntityProperty.SetValue(this, value); }
}
#endregion ContactOther |
Why is this happening? How can I fix this? I would like to have the verifier's so the UI can work properly. Thanks!