public bool InsertlinkToResdbFrq(LinkStationFrequenciesToResdbFrq instance)
        {
            var result = false;
            var linkStationFrequenciesToResdbFrq = LinkStationFrequenciesToResdbFrq;
            var context = linkStationFrequenciesToResdbFrq?.Context;

            if (instance != null && context != null)
            {
                linkStationFrequenciesToResdbFrq.InsertOnSubmit(instance);

                try
                {
                    context.SubmitChanges();
                    result = true;
                }
                catch (Exception)
                {
                    // throw;
                }
            }

            return(result);
        }
Пример #2
0
 partial void DeleteLinkStationFrequenciesToResdbFrq(LinkStationFrequenciesToResdbFrq instance);
Пример #3
0
 partial void InsertLinkStationFrequenciesToResdbFrq(LinkStationFrequenciesToResdbFrq instance);