/// <summary> /// Numer ID typu z bazy danych. /// </summary> /// <param name="typeName"></param> /// <returns></returns> private int NumberIDType(string typeName) { TypeNotification type = (from element in context.TypeNotifications where element.Type == typeName select element).FirstOrDefault(); return(type.ID); }
partial void UpdateTypeNotification(TypeNotification instance);
partial void DeleteTypeNotification(TypeNotification instance);
partial void InsertTypeNotification(TypeNotification instance);