Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Table(Name="Expense")]
- private class Temp
- {
- // Fields
- [CompilerGenerated]
- private string <Category>k__BackingField;
- [CompilerGenerated]
- private string <Comment>k__BackingField;
- [CompilerGenerated]
- private DateTime <DateTime>k__BackingField;
- [CompilerGenerated]
- private int <ExpenseID>k__BackingField;
- [CompilerGenerated]
- private decimal <Value>k__BackingField;
- // Methods
- public Temp();
- // Properties
- [Column]
- public string Category { [CompilerGenerated] get; [CompilerGenerated] set; }
- [Column]
- public string Comment { [CompilerGenerated] get; [CompilerGenerated] set; }
- [Column]
- public DateTime DateTime { [CompilerGenerated] get; [CompilerGenerated] set; }
- [Column(IsPrimaryKey=true, IsDbGenerated=true, AutoSync=AutoSync.OnInsert)]
- public int ExpenseID { [CompilerGenerated] get; [CompilerGenerated] set; }
- [Column]
- public decimal Value { [CompilerGenerated] get; [CompilerGenerated] set; }
- }
- [Serializable, Table(Name="Expense"), CompilationMapping(SourceConstructFlags.ObjectType)]
- public class Expense
- {
- // Fields
- internal string category@16;
- internal string comment@17;
- internal DateTime datetime@14;
- internal int id;
- internal decimal value@15;
- // Methods
- public Expense();
- public Expense(DateTime? datetime, decimal value, string category, string comment);
- // Properties
- [Column]
- public string Category { get; set; }
- [Column]
- public string Comment { get; set; }
- [Column]
- public DateTime DateTime { get; set; }
- [Column(IsPrimaryKey=true, IsDbGenerated=true, AutoSync=AutoSync.OnInsert)]
- public int ExpenseID { get; set; }
- [Column]
- public decimal Value { get; set; }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement