Giter Site home page Giter Site logo

More target frameworks about linq2db HOT 11 CLOSED

linq2db avatar linq2db commented on April 28, 2024
More target frameworks

from linq2db.

Comments (11)

igor-tkachev avatar igor-tkachev commented on April 28, 2024

What is WinRT target?

from linq2db.

Centurys avatar Centurys commented on April 28, 2024

Sorry if nor clear, but I mean class library project type that targets specific .NET framework. WinRT has many names: windows store apps class library, .net core 4.5, .net for windows RT (runtime), .NET for Windows Store apps.

from linq2db.

igor-tkachev avatar igor-tkachev commented on April 28, 2024

Well, how can I get all those frameworks?

from linq2db.

Centurys avatar Centurys commented on April 28, 2024

As I wrote framework is only one, but many people called it differently :)
This page explains how to start:
http://msdn.microsoft.com/en-US/windows/apps/jj679957

from linq2db.

Brazol avatar Brazol commented on April 28, 2024

It would be perfect if Linq2db could target portable libraries or at least work with WinRT apps. I need this so much! :)

from linq2db.

ossaltu avatar ossaltu commented on April 28, 2024

WinRT version of Linq2db would be definitely useful in our project

from linq2db.

igor-tkachev avatar igor-tkachev commented on April 28, 2024

I am not sure about WinRT framework, but as far as I know WPH does not support compilation of Linq.Expressions.

from linq2db.

Brazol avatar Brazol commented on April 28, 2024

I'm not an expert but i think it does:
http://msdn.microsoft.com/en-us/library/system.linq.expressions.expression.aspx

Portable Class Library
Supported in: Portable Class Library
.NET for Windows Store apps
Supported in: Windows 8

from linq2db.

igor-tkachev avatar igor-tkachev commented on April 28, 2024

It has expressions, but Compile method throws the NotImplementedException.

from linq2db.

Centurys avatar Centurys commented on April 28, 2024

I don't know if I tried same code as you, but this code works fine on my machine:

System.Linq.Expressions.Expression< Func< int, bool>> expr = i => i < 5;
Func<int, bool> deleg = expr.Compile();

var result = deleg(3); //true

from linq2db.

Brazol avatar Brazol commented on April 28, 2024

I guess Centurys checked it for WinRT, to make sure I also checked it for PortableClassLibrary and it works if you uncheck WindowsPhone as one of target frameworks (otherwise it doesnt support Compile method).

from linq2db.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.