|
|
What experience do you have with O/R mapper in .NET?
I need to choose one for use in my company
Which one is the best for you?
I have seen lots of positive feedback about this one:
LLBLGen Pro
What do you thing about this? Is it good or can I find better alternative?
Regards
cyberjoe
|
|
|
|
|
You can also look into NHibernate[^]. There are quite a few codegenerators out there that make setting up a basic solution with NHibernate a breeze
WM.
What about weapons of mass-construction?
"You can always try to smash it with a wrench to fix that. It might actually work" - WillemM
|
|
|
|
|
We're developing a large distributed system for an oilcompany and we're using nHibernate. Works like a charm. I'm not working on the Data access layer myself, but the little I've seen so far has been great.
-Larantz-
|
|
|
|
|
I'm rather partial to DevExpress Xpress Persistent Objects at http://www.devexpress.com/Products/NET/Libraries/XPO/Index.xml[^]. Have a look at it - it's seriously good.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
How to find the square root of some number.
In PASCAL it was sqrt(n) , but in C# i don't know.
Vasildb
|
|
|
|
|
Math.Sqrt[^]
The Math class has many wonderful helper methods in it. Recommend that you check it out if your application will be doing heavy number crunching.
|
|
|
|
|
|
Hi All
The problem is this that im setting these 4 properties from my application via comboboxes
[ 1 COM Port
2 Baud Rate
3 Parity
4 SopBits }
when the user selects the values from the combo boxes i want the value is also saved in the system as a default value
for example if one selects baud rate 9600 from the combo box so at the same time the system baud rate is also changed to 9600 same as if i change other values it is saved to the system
Could any on help me
SEEk the one
|
|
|
|
|
sajid.salim.khan wrote: when the user selects the values from the combo boxes i want the value is also saved in the system as a default value
I guess you're using 'system' to mean 'Application'. If the hypothesis is correct then see MSDN for <a href="http://msdn2.microsoft.com/en-us/library/k4s6c3a0.aspx">Application Settings Overview</a> .
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
You might consider rewriting the boot.ini file.
There is an option there: /BAUDRATE . Use /BAUDRATE=9600 or whatever value has been selected by the user.
SkyWalker
|
|
|
|
|
We do not appreciate it if you post the same question more than once.
|
|
|
|
|
Is there a way to trim every character after a certian character. For instance i have a string like "12345.6789" is there a way to trim everything after the "." to show "12345"?
Thanks in advanced
Don't be overcome by evil, but overcome evil with good
|
|
|
|
|
|
Dominik Reichl wrote: If you're using C strings
Dominik Reichl wrote: If you're using STL strings or MFC CString's
This is the C# forum. I would suspect that the original poster is asking about how to do this in C#
|
|
|
|
|
Dominik Reichl wrote: If you're using C strings
As he asked in the C# forum, my bet is that he isn't.
---
Year happy = new Year(2007);
|
|
|
|
|
teejayem wrote: Is there a way to trim every character after a certian character.
Yes, Use IndexOf to find where the character is. And SubString to extract part of the string.
teejayem wrote: For instance i have a string like "12345.6789" is there a way to trim everything after the "." to show "12345"?
Strictly speaking if you were to trim everything after the "." the result would be "12345."
|
|
|
|
|
//you can write following code to the any button event, run it after finished //enter the keys
TextBox1.Text = TextBox1.Text.Remove(TextBox1.Text.IndexOf('.'));
|
|
|
|
|
thanks colin, exactly what i needed!
Don't be overcome by evil, but overcome evil with good
|
|
|
|
|
Try this the textBox1.Text will have the input string and the Result is available in the sResult. Messagebox will display all the string trimmed to the left of '.'
string s = textBox1.Text;
char [] carrSplit = new char[]{'.'} ;
string [] sResult = s.Split(carrSplit);
for(int i=0;i
|
|
|
|
|
Hi All
The problem is when im deleting a node form the tree view
it is removed but it is not deleted from the xml and it displays the node again on restarting the application Im using the code
string selectedNode = treeview.selectednodes.node;
node.remove(selected node);
so how will be it deleted form the xml also
SAS ![Rose | [Rose]](https://www.codeproject.com/script/Forums/Images/rose.gif)
|
|
|
|
|
You'll have to delete it from the Xml yourself. Presumably you know how to do this, we certainly can't help since you havn't provided any information as to how you're storing and/or reading/writing the data to the file.
I have no idea what I just said. But my intentions were sincere.
|
|
|
|
|
What XML? If you are using WPF and have "hard coded" the nodes in the Xaml, they will always be there on restart (they represent "initial conditions"). If you are building the tree by reading some other xml file, you will have to write code to do this...
|
|
|
|
|
selectedNode.Parent.RemoveChild(selectedNode); is about right.
Why are you asking the same question over and over. Any of the people who have tried to help you would have kept helping if you'd have answered their requests for more info.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Hi All
The problem is this that im setting these 4 properties from my application via comboboxes
[ 1 COM Port
2 Baud Rate
3 Parity
4 SopBits }
when the user selects the values from the combo boxes i want the value is also saved in the system as a default value
for example if one selects baud rate 9600 from the combo box so at the same time the system baud rate is also changed to 9600 same as if i change other values it is saved to the system
Could any on help me
SAS ![Rose | [Rose]](https://www.codeproject.com/script/Forums/Images/rose.gif)
|
|
|
|