View Complete Post
using EF3.5sp1 for a project, and I've been working around many of its
problems... as such, my entity partial classes have a lot of logic in
them for change-tracking and whatnot. Obviously, I'd like to factor
this logic out into a common base class,
but of course all my objects must derive from EntityObject. Is it
possible to tell them to derive from some class of my own invention
(which would actually likely derive from EntityObject themselves)?
I'd rather avoid editing the EDMX file unless the changes will be
safe on entity-model-update, since I'm still making changes to the
database schema in this early state of my project.
Also, is there any good workaround for the fact that the change isn't tracked when you change EntityReference.EntityKey?
I try to replace [h2] to <h2>I use this coding:
string o = "<h2>test</h2>";o = Regex.Replace(o, "[h2]", "<h2>");o = Regex.Replace(o, "[/h2]", "</h2>");
But the result after the first regex is: [<h2><h2>]test[/<h2><h2>]
So that is not what i want.After the first 1, he should make:<h2>test[/h2]Whats wrong?
Hi to all,
im tying to replace some text introduced in a word document stored in a document library.
Exactly i need a web part with a button that change a key in a word template <list> (for example) and replace <list> with a text in another list.
I think that it would works with the Microsoft.Office.Word.Interop; namespace but when i call the function :
wDoc = wordApp.Documents.Open(ref fileName, ref missing,
ref readOnly, ref missing, ref missing, ref missing,
ref missing, ref missing, ref missing, ref missing,
ref missing, ref isVisible, ref missing, ref missing,