Hello,
I want to serialize some object in a database. This is possible by using the ISerializable interface against a Memory Stream, and then, write the memory steam into a field in database. But, what if I want to serialize each field of my object in a field of the database?
e., I want to serialize:
CPerson{
public int age;
public string name;
}
...into a table named 'Person' with a field named 'age', and another field named 'name'.
Is it possible? I couldn't find any samples anywhere.
Thanks in advance, and sorry for my poor english.
Pepe
I want to serialize some object in a database. This is possible by using the ISerializable interface against a Memory Stream, and then, write the memory steam into a field in database. But, what if I want to serialize each field of my object in a field of the database?
e., I want to serialize:
CPerson{
public int age;
public string name;
}
...into a table named 'Person' with a field named 'age', and another field named 'name'.
Is it possible? I couldn't find any samples anywhere.
Thanks in advance, and sorry for my poor english.
Pepe