Saeed Neamati

Tehran, Iran

nefcanto.com

Age: 32

Who am I? I don't really know. Many times I've seen behaviors of mine that astonished me. Many times I've felt something, deep inside, that made me rethink of my very existence. I'm a guy in pursuit of self-awareness, happiness, and satisfaction.

profile for Saeed on Stack Exchange, a network of free, community-driven Q&A sites

6h
asked How to know cursor position index in an editor
1d
awarded Good Question
2d
awarded Popular Question
Mar
23
awarded Famous Question
Mar
23
comment element present but hidden selenium check
Then, how to use it. It's better to post a simple example in your answers, so that reader won't spend couple of minutes more searching for that waitForVisible. Thank you.
Mar
23
awarded Custodian
Mar
23
reviewed Approve suggested edit on How to enforce data consistency across one-to-one relationship in an inheritance hierarchy
Mar
22
comment How to enforce data consistency across one-to-one relationship in an inheritance hierarchy
So, in your design, it's the composite foreign key that prevents an entity with dual nature to be inserted into database? Am I right? Otherwise, if we only have a simple foreign key from PersonID to Persons table, it's still possible for a student record, to exist in teachers table too.
Mar
22
comment How to enforce data consistency across one-to-one relationship in an inheritance hierarchy
You mean that while a column is added to the common table, it's not necessary to add an equivalent property to the corresponding model, right? If that's the case, then I have no objection. But I still think there might be another solution.
Mar
21
awarded Commentator
Mar
21
comment How to enforce data consistency across one-to-one relationship in an inheritance hierarchy
thank you for the answer. A concern that I have with this approach is a question I've already asked on SO. You can see it here: stackoverflow.com/questions/20018266/…. I hope to find another solution without requiring addition of a type column to the base table. As I said, triggers are one way, but they sound to be smelly.
Mar
21
asked How to enforce data consistency across one-to-one relationship in an inheritance hierarchy
Mar
20
awarded Famous Question
Mar
20
awarded Curious
Mar
19
awarded Curious
Mar
19
awarded Popular Question
Mar
18
accepted where to find linguistic tips on quranic translations?
Mar
18
comment where to find linguistic tips on quranic translations?
@afnrf, exactly. Please post it as an answer, so that I can mark it as answer. Thank you.
Mar
18
comment Triggering ASP.Net MVC Bundling from commandline
@JernejNovak, what other console tools? Can you suggest one or two?
Mar
18
comment Triggering ASP.Net MVC Bundling from commandline
Did you find an answer to your request? We want to do the exact same thing, and we're stuck here.
1 2 3 4 5