示例#1
0
 public GenericDal(int number)
 {
     this.CheckAndCreatePath("Datos");
     this.number = number;
     this.dal    = new XmlDalSerializer(string.Format(@"Datos\{0}_{1}.xml", typeof(Entity).Name, number));
 }
示例#2
0
 public GenericDal()
 {
     this.CheckAndCreatePath("Datos");
     this.dal = new XmlDalSerializer(string.Format(@"Datos\{0}.xml", typeof(Entity).Name));
 }