Click here to Skip to main content
15,887,027 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello everyone

i have to generate a binary files from database, by getting data in first place in classes then write those classes into binary files

the thing is that the structure of output files is not the same that is used by the classes so i have to write parameter by parameter

my question is: do those classes need to implement the interface serializable ?? or it's not necessary ??
Posted
Updated 3-Dec-09 7:39am
v3

Only time you need to do that is if your going to dump the entire class into the database. The only reason to do that is if you're going to restore it as the same class at a later time.
 
Share this answer
 
thank you verry much

so i can write the binary files without implementing the interface serializable in the classes ??
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900