Skip to content

Instantly share code, notes, and snippets.

Šarūnas floatas

Block or report user

Report or block floatas

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@floatas
floatas / ClassGenerator.sql
Created Apr 1, 2019 — forked from ernado-x/ClassGenerator.sql
Generate C# class from database table
View ClassGenerator.sql
--from SO: http://stackoverflow.com/questions/5873170/generate-class-from-database-table
declare @TableName sysname = 'TableName'
declare @Result varchar(max) = 'public class ' + @TableName + '
{'
select @Result = @Result + '
public ' + ColumnType + NullableSign + ' ' + ColumnName + ' { get; set; }
'
from
@floatas
floatas / ContentPage.xaml
Last active Aug 15, 2017 — forked from yuv4ik/ContentPage.xaml
Xamarin.Forms DatePicker with hours, minutes and seconds: TimeCountdownPicker
View ContentPage.xaml
/*
Xaml example.
*/
<?xml version="1.0" encoding="utf-8"?>
<ContentPage
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:YourNameSpace"
x:Class="YourNameSpace.ContentPage">
You can’t perform that action at this time.