Hi there,
We have just upgraded the license and I've now installed smartClient 12.0.
We are using .dbml, xml, DataSource in our code structure. For example:
1- in xml file we have:
<FeeTrackingService>
<Definitions>
<definitionId primaryKey="true" canEdit="false" hidden="true" />
<name title= "Fee name" />
<categoryCode title="Category" valueMap="VMapFeeCategory" />
<totalAmount type="money"/>
<requiresAdminPrivilage required="false" />
<paymentPlanTemplate title="Payment Plan" />
<paymentStatus valueMap="VMapPaymentStatus" canEdit="false" />
<feeStatus valueMap="VMapFeeStatus" detail="true"/>
</Definitions>
</FeeTrackingService>
2- In the back-end we use C# and we have:
private FeeTrackingService()
: base("fee", "FeeTrackingService", typeof(FeeTrackingDataContext))
{
Definitions = new FeeDefinitionDataSource();
}
3- In the dbml we have the table and view design for the classes.
4- The way we call the dataSource in the front-end smartclient is like:
dataSource: feeDefinitions
So my question is that when I just started using the new version smartClient js files, the first error I got was "The server failed to return a formatted response at all.". So I know it is most probably related to the way our code structure is. Can you please provide any advice?
Thank you in advance,
Shwan
We have just upgraded the license and I've now installed smartClient 12.0.
We are using .dbml, xml, DataSource in our code structure. For example:
1- in xml file we have:
<FeeTrackingService>
<Definitions>
<definitionId primaryKey="true" canEdit="false" hidden="true" />
<name title= "Fee name" />
<categoryCode title="Category" valueMap="VMapFeeCategory" />
<totalAmount type="money"/>
<requiresAdminPrivilage required="false" />
<paymentPlanTemplate title="Payment Plan" />
<paymentStatus valueMap="VMapPaymentStatus" canEdit="false" />
<feeStatus valueMap="VMapFeeStatus" detail="true"/>
</Definitions>
</FeeTrackingService>
2- In the back-end we use C# and we have:
private FeeTrackingService()
: base("fee", "FeeTrackingService", typeof(FeeTrackingDataContext))
{
Definitions = new FeeDefinitionDataSource();
}
3- In the dbml we have the table and view design for the classes.
4- The way we call the dataSource in the front-end smartclient is like:
dataSource: feeDefinitions
So my question is that when I just started using the new version smartClient js files, the first error I got was "The server failed to return a formatted response at all.". So I know it is most probably related to the way our code structure is. Can you please provide any advice?
Thank you in advance,
Shwan
Comment