如何将SQL Server DB连接到xamarin studio解决方案? [英] How to connect a SQL server DB to xamarin studio solution?

查看:134
本文介绍了如何将SQL Server DB连接到xamarin studio解决方案?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

I would like to know what´s the best way to connect a SQL Server DB to a Solution in Xamarin Studio in Android(with internal code(DAL), webservices or others), I've worked in C# before in web and desktop(WindowsForm) and I know how to manage a SQL connection to a DB in these ways, but I´m pretty new in Xamarin and Xamarin Studio, and I would like to connect my solution to a DB by the best practice for mobile development.





我尝试过的事情:



我见过带有webservices参考的例子,但我想知道我是否可以做它与内部代码如DAL或DLL,或者是xamarin中移动开发的最佳实践



What I have tried:

I've seen examples with webservices references, but I would like to know if I can do it with internal code like a DAL or DLL, or which be the best practice for mobile development in xamarin

推荐答案

请按照以下链接创建Web服务。

Web服务简介 - Xamarin [ ^ ]
Follow below links you need to create Webservice for that..
Introduction to Web Services - Xamarin[^]


这篇关于如何将SQL Server DB连接到xamarin studio解决方案?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆