Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class MyClass
- {
- public int Id { get; set; }
- public DateTime Date { get; set; }
- public string String1 { get; set; }
- public string String2 { get; set; }
- public string String3 { get; set; }
- public string String4 { get; set; }
- }
- CREATE TABLE [dbo].[MyClass](
- [Id] [int] IDENTITY(1,1) NOT NULL,
- [Xml] [varchar](max) NOT NULL,
- )
- public class MyClass
- {
- public int Id { get; set; }
- public AllOtherOptions Options { get; set; }
- }
- public class AllOtherOptions
- {
- public DateTime Date { get; set; }
- public string String1 { get; set; }
- public string String2 { get; set; }
- public string String3 { get; set; }
- public string String4 { get; set; }
- }
- public interface IXmlObjectContainer
- {
- void SerializeChildObjects();
- void DeSerializeChildObjects();
- }
Add Comment
Please, Sign In to add comment