|
|
От: | Аноним | |
| Дата: | 11.10.05 03:47 | ||
| Оценка: | |||
<?xml version="1.0" encoding="utf-8"?>
<mapping>
<value_type name="System.DayOfWeek">
<value target="Friday" source="FR" source_type="System.String" />
<value target="Monday" source="MO" source_type="System.String" />
<value target="Saturday" source="SA" source_type="System.String" />
<value target="Sunday" source="SU" source_type="System.String" />
<value target="Thursday" source="TH" source_type="System.String" />
<value target="Tuesday" source="TU" source_type="System.String" />
<value target="Wednesday" source="WE" source_type="System.String" />
</value_type>
</mapping>protected void Application_Start( Object sender, EventArgs e )
{
MapDescriptor.SetMappingSchema( Server.MapPath( @"~/BusinessLayer/Data/Mapping.xml" ) );
}Message: Could not create descriptor of the 'ES.EurostudioProject.BusinessLayer.Data.Company.EmployeeScheduleExclusion' type. Invalid cast from System.String to System.DayOfWeek.
InnerExceptionMessage: Invalid cast from System.String to System.DayOfWeek.