Join
Sign in
ComponentOne Community
Search Options
Search Everything
Search WinForms
Home
WinForms
WPF
ASP.NET
Silverlight
SharePoint
Help Authoring
ActiveX
Windows Mobile
General
Visual Studio Extensions
Legacy
Marketing Blogs
Dev Tools
Evangelists
C1Announcements
More ...
Home
»
WinForms
»
DataObjects for WinForms
»
DataSetLogic AfterGenerateSql event is not firing when used on a SchemaRef
Re: DataSetLogic AfterGenerateSql event is not firing when used on a SchemaRef
WinForms
ComponentOne's WinForms controls
Get this RSS feed
Home
Blog
Forums
Files
Wikis
Details
1
Reply
0
Subscribers
499
days old
Options
Subscribe via RSS
Send to friend
DataObjects for WinForms
DataSetLogic AfterGenerateSql event is not firing when used on a SchemaRef
rated by 0 users
This post has
1 Reply |
0
Followers
Posted by
Elmar
on
4-22-2009 12:20 PM
rated by 0 users
DataSetLogic AfterGenerateSql event is not firing when used on a SchemaRef
hello!
i have a datalibrary class and a winform project.
on the form i place a c1schemaref and a c1datasetlogic (referencing
schemaref).
now the problem:
aftergeneratesql is not firing.
it's not a big thing, since i can work around...
am i missing somehing or is it planned behaviour?
kind regards
elmar
Posted by
C1_AndreyD
on
4-22-2009 2:28 PM
rated by 0 users
Re: DataSetLogic AfterGenerateSql event is not firing when used on a SchemaRef
Test.zip
Hi Elmar,
I see no problem with a C1SchemaRef. You may take a look at
the attached application. I have added the following handler
to the C1DataSetLogic.AfterGenerateSql event in DataClass1:
private void c1DataSetLogic1_AfterGenerateSql(object sender, GenerateSqlEventArgs e)
{
Debug.WriteLine("AfterGenerateSql");
}
And I can see this message when running the program in debug mode.
> on the form i place a c1schemaref and a c1datasetlogic (referencing
> schemaref).
"on the form"? And how many forms are in your datalibrary? :)
If you placed a C1SchemaRef in the winform project it won't work.
The C1SchemaRef must be in the same project as C1SchemaDef.
They will not find each other otherwise.
Regards,
-Andrey
Page 1 of 1 (2 items)