Example #1
0
        public MappingInfo FindOrCreate(DevLanguageItem devLanguageItem)
        {
            var item = this.Cast <MappingInfo>().FirstOrDefault(mi => mi.DevLanguageItemId == devLanguageItem.Id);

            if (item == null)
            {
                item = new MappingInfo
                {
                    DevLanguageItem = devLanguageItem
                };
                this.Add(item);
            }

            return(item);
        }
Example #2
0
 public void Insert(int index, MappingInfo entity)
 {
     base.Insert(index, entity);
 }
Example #3
0
 public int IndexOf(MappingInfo entity)
 {
     return(base.IndexOf(entity));
 }
Example #4
0
 public bool Contains(MappingInfo entity)
 {
     return(base.Contains(entity));
 }
Example #5
0
 public void Add(MappingInfo entity)
 {
     base.Add(entity);
 }
Example #6
0
 public bool Remove(MappingInfo entity)
 {
     return(base.Remove(entity));
 }