public Dev_DoorAccess Clone()
        {
            Dev_DoorAccess copy = new Dev_DoorAccess();

            copy = this.CloneObjectByBinary();
            if (this.DevInfo != null)
            {
                copy.DevInfo = this.DevInfo;
            }
            return(copy);
        }
 public Location.TModel.Location.AreaAndDev.Dev_DoorAccess AddDoorAccess(Location.TModel.Location.AreaAndDev.Dev_DoorAccess doorAccess)
 {
     return(service.AddDoorAccess(doorAccess));
 }
 /// <summary>
 /// 添加门禁信息
 /// </summary>
 /// <param name="doorAccess"></param>
 /// <returns></returns>
 public bool AddDoorAccess(Dev_DoorAccess doorAccess)
 {
     return(db.Dev_DoorAccess.Add(doorAccess.ToDbModel()));
 }