Example #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));
 }
Example #2
0
 public GenericDal()
 {
     this.CheckAndCreatePath("Datos");
     this.dal = new XmlDalSerializer(string.Format(@"Datos\{0}.xml", typeof(Entity).Name));
 }