esrefatak edited this page May 11, 2015 · 87 revisions

UniGate Logo

Unigate Quick Start

ScreenShot

Fetching a data

ScreenShot

Unigate SDK samples:

var news = UnigateObject.Query("News").ToList<News>();

var anotherNews = UnigateObject.Query("News")
        .Column("Icon")
        .Column("Link")
        .Column("Alias")
        .Column("Title")
        .Column("NewsType.Title", "NewsTypeTitle")
        .Join("NewsType", JoinType.Left, "NewsType.ContentId=News.NewsType")
        .Where("IsImportant", 1)
        .SortDesc("PublishDate")
        .Distinct()
        .ToList<News>();

UnigateObject.Insert("Comment")
      .Column("Title","Subject about my comment")
      .Column("Body","Here i smy details...")
      .Column("Visible",false)
      .Execute();

 var result = UnigateObject.GetDataSourceResultDataTable("InsertStoredProcedure", new NameValueCollection {     
      {"Title", "Ürün başlığı buraya"},     
      {"Price", 109}
  });
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.