I build a global datatype and named it <gringalet.users> in c1 console. then i try to get this datatype in public class width c#, but <gringalet.users> can not be found. I have imported composite.dll ,who can give me a hand?
my code is simple, it is not a asp.net mvc program,just is a common class for study.
using Composite.Data;
using Composite.Data.Types;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
publi class test{
using (DataConnection connection = new DataConnection())
{
gringalet.users myUser = DataConnection.New<gringalet.users>();
myUser.Id = Guid.NewGuid();
myUser.Name = "John Doe";
myUser = connection.Add<gringalet.users>(myUser);
}
}
my code is simple, it is not a asp.net mvc program,just is a common class for study.
using Composite.Data;
using Composite.Data.Types;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
publi class test{
using (DataConnection connection = new DataConnection())
{
gringalet.users myUser = DataConnection.New<gringalet.users>();
myUser.Id = Guid.NewGuid();
myUser.Name = "John Doe";
myUser = connection.Add<gringalet.users>(myUser);
}
}