Thanks. All is clear now :)
On 18/09/2007, Frans Bouma <[EMAIL PROTECTED]> wrote:
> > This is my first post in the mailing list but I read it all the time :)
> >
> > I have the following scenarion :
> >
> > Super stored proc :
> >
> > begin tran T1;
> > proc1;
> > proc2;
> > ...
> > commit
> This is my first post in the mailing list but I read it all the time :)
>
> I have the following scenarion :
>
> Super stored proc :
>
> begin tran T1;
> proc1;
> proc2;
> ...
> commit tran T1;
>
> I would like to call the procedure from ADO.NET but I want to finish
> some other work in C
> I am a total NHibernate convert and have drastically cut down the amount of
> SQL I write now thanks to their brilliance.
>
> Obviously I still have to write some Sql.Can anyone recommend a good open
> source SQL helper that can take the drudgery out of calling stored
procedures?
>
> Thanks in ad
I didn't quite follow your question; but it's not
necessary for an ADO.NET method to fail in order to use Rollback, any
method/code can fail to use Rollback (it doesn't even need to be an
exception...).
Your syntax just needs to be changed to use the SqlTransaction class:
SqlTransaction trans = d
Hi all,
I am a total NHibernate convert and have drastically cut down the amount of SQL
I write now thanks to their brilliance.
Obviously I still have to write some Sql.Can anyone recommend a good open
source SQL helper that can take the drudgery out of calling stored procedures?
Thanks in ad
Hi guys,
This is my first post in the mailing list but I read it all the time :)
I have the following scenarion :
Super stored proc :
begin tran T1;
proc1;
proc2;
...
commit tran T1;
I would like to call the procedure from ADO.NET but I want to finish
some other work in C# code before
Daniel Barla-Szabo wrote:
> Looking at the MSDN docs on Encoder / Decoder, I see a few comments
> like "Notes to inheritors" and "Notes to implementers", so it seems
> to me that the door has Microsoft has left the door for inheritance
> open on purpose.
For subclassing Encoding, Encoder and Dec
That is more or less my question. I am trying to figure out what is the
correct usage scenario when creating an encoding based on an existing one. I
can derive from Encoding, but would rather not reinvent the wheel if
possible, only change the part I do want to change.
Sébastien
On 9/18/07, Per B
Sébastien Lorion wrote:
class MyEncoding
: ASCIIEncoding
Are you sure _ASCIIEncoding_ is supposed to be subclassable?
C# MVP Jon Skeet has implemented the EBCDIC encoding in .NET here:
http://www.yoda.arachsys.com/csharp/ebcdic/
Maybe you could look at that for reference?
I will be out of the office starting 09/17/2007 and will not return until
09/19/2007.
I will be intermittently checking email in my absence. I will respond to
your message as soon as I can. Contact Abhishek Ghuwalewala for urgent
Measurement Studio issues.
Contact Scott Richardson for urgent Test
Looking at the MSDN docs on Encoder / Decoder, I see a few comments like "Notes
to inheritors" and "Notes to implementers", so it seems to me that the door has
Microsoft has left the door for inheritance open on purpose. That said, I'd
agree that it has been implemented in a slightly odd way.
Given the following:
class MyEncoding
: ASCIIEncoding
{
public override int GetChars(byte[] bytes, int byteIndex, int byteCount,
char[] chars, int charIndex)
{
// do custom conversion here
}
}
static void ReadTest(string path, int bufferSize)
{
using (StreamReader sr = new StreamRea
12 matches
Mail list logo