public void initContainers(int countObject)
 {
     _containerLinks = new links[countObject];
      _containerPics = new pic[countObject];
      for (int i = 0; i < countObject; i++)
      {
          _containerLinks[i] = new links();
          _containerPics[i] = new pic();
      }
 }
 partial void Updatepic(pic instance);
 partial void Deletepic(pic instance);
 partial void Insertpic(pic instance);